window = UIWindow(frame: UIScreen.mainScreen().bounds)
On this line I get the above error. Based on previous posts, I see that it got changed in Swift 3.0, but I can't figure out how to fix it. How do I change this?
Change to window = UIWindow(frame: UIScreen.main.bounds)
Main change is from .mainScreen() to .main
Mainly Swift 3 changes a lot of their function calls to be property-type
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With