EXTENSION
public extension UIApplication
var keyWindow: UIWindow?
Application key window
var isConnectedToNetwork: Bool
Checks if the application is connected to the internet via SystemConfiguration
func openSettings()
Open application settings
func openPhone(calling number: String)
Opens application sheet for phonen number
func openFacebook(name: String?, id: String?)
Find My Facebook ID: https://findmyfbid.com/
- Parameters:
- name: Facebook name
- id: Facebook ID
Name | Description |
---|---|
name | Facebook name |
id | Facebook ID |
func openInstagram(name: String?)
Launches the Instagram app and loads the Instagram user
- Parameter name: Instagram username
Name | Description |
---|---|
name | Instagram username |
func openInstagram(media: String?)
Launches the Instagram app and loads the Instagram user
- Parameter name: Instagram username
Name | Description |
---|---|
name | Instagram username |
func openExternalMapApp(query: String)
Open a map app with the given query. Orders: Google Map -> Apple Map
- Parameter query: The query to search on the map.
Name | Description |
---|---|
query | The query to search on the map. |