Search
 
SCRIPT & CODE EXAMPLE
 

SWIFT

swift 5 make a phone call

if let url = URL(string: "tel://(phoneNumberTextfield.text!)"),
UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
Comment

PREVIOUS NEXT
Code Example
Swift :: save Codable in userdefaults and fetch codable from userdefaults ios swift 
Swift :: how to play a video in swift 
Swift :: swift how to sort array 
Swift :: Decimal to Double conversion in Swift 
Swift :: how to make box shadow swift 
Swift :: hide bottom tab bar swift 
Swift :: swift date plus1 day 
Swift :: swift button 
Swift :: swift do while 
Swift :: unit testing swift ui 
Swift :: Thread 1: breakpoint 1.1 
Swift :: string.format swift 
Swift :: struct vs enum swift 
Swift :: swift alert toast 
Swift :: how to set the center in view in swift 
Swift :: change placeholder color swift 
Swift :: concatenate string swift 
Swift :: sf symbols 
Swift :: make optional protocol swift 
Swift :: Swift Trailing Closure 
Swift :: xcode execute code after when navigating back to screen 
Swift :: while loop in swift 
Swift :: two integer variable in swift 
Swift :: swift 5 touchupinsideview 
Swift :: Swift guard Vs if Statement 
Swift :: Swift is case-sensitive. So A and a are different variables 
Swift :: Assignment Operators Swift 
Swift :: Swift Function With Argument Label 
Swift :: Swift if...else 
Swift :: how to use snippets in xcode 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =