07-18-2023, 10:41 PM
How can I get instance of current UIApplication from View Controller in Swift?
I am getting `Use of unresolved identifier 'sharedApplication'` error with this code:
let app = sharedApplication as UIApplication
I am getting `Use of unresolved identifier 'sharedApplication'` error with this code:
let app = sharedApplication as UIApplication