Search
 
SCRIPT & CODE EXAMPLE
 

SWIFT

swift open settings page

guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else {
  return
}

if UIApplication.shared.canOpenURL(settingsUrl) {
  UIApplication.shared.open(settingsUrl, completionHandler: { (success) in
                                                             print("Settings opened: (success)") // Prints true
                                                            })
}
Comment

PREVIOUS NEXT
Code Example
Swift :: stackoverflow get firbas analytics in ios 
Swift :: random element from array swift 
Swift :: pop view swiftui 
Swift :: swift function with return value 
Swift :: cross origin requests are only supported for http wkwebview 
Swift :: create alert in swift 
Swift :: swift uiswitch change size 
Swift :: swift get top constraint 
Swift :: iOS 10.3.1 Simulator manually 
Swift :: connect old iphone with latest xcode 12 or 13 
Swift :: get index filter swift 
Swift :: generate random bool swift 
Swift :: swift url encode string 
Swift :: post request in swift 
Swift :: dismiss two view controllers at once swift 
Swift :: sort array alphabetically swift 4 
Swift :: define struct swift 
Swift :: swift add programmatically constraint to view 
Swift :: remove cocoapods swiftr 
Swift :: didSelectRowAt in table view 
Swift :: xcode how to know which textfield is selected 
Swift :: socket io swift 
Swift :: Swift Closures as Function Parameter 
Swift :: uitextfield set max length 
Swift :: swift get keys from dictionary 
Swift :: swift protocols 
Swift :: after redirect from another viewcontroller in swift 5 make full view view controller 
Swift :: rotate sfsymbol horizontal flip swiftui 
Swift :: Swift Nested Ternary Operators 
Swift :: Initializer Swift 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =