Make sure you have the following property declaration in your AppDelegate class:
var window: UIWindow?
More Related Contents:
- How to increase the height of navigation bar in Xcode?
- ViewDidAppear is not called when opening app from background
- Swift default AlertViewController breaking constraints
- Static Library and Swift
- Adding Navigation Bar programmatically iOS
- How to change UISearchBar Placeholder and image tint color?
- Swift: How to open a new app when UIButton is tapped
- Show iPhone cut copy paste menu on UILabel
- Create and perform segue without storyboards
- iOS app testing. App installation failed. No code signature found [closed]
- Disable zoom in WKWebView?
- How to get the indexpath.row when an element is activated?
- Pass data through segue
- How to insert new cell into UITableView in Swift
- How to get a user’s time zone?
- Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code
- didSelectRowAtIndexPath not working, Swift 3
- How to I import 3rd party frameworks into Xcode Playground?
- Remove text from Back button keeping the icon
- Module compiled with Swift 4.0 cannot be imported in Swift 4.0.1
- You are not authorised to use this service iTunes app upload error [closed]
- Warning: The Copy Bundle Resources build phase contains this target’s Info.plist file
- OpenURL in iOS10
- Calculate Total Traveled Distance iOS Swift
- Could not launch process launch failed: timed out waiting for app to launch
- UISlider that snaps to a fixed number of steps (like Text Size in the iOS 7 Settings app)
- Facebook Graph API GET request – Should contain “fields” parameter (Swift, Facebook SDK v4.5.1)
- How to get the front camera in Swift?
- GM release of Xcode 6 compile
- Rotation only in one ViewController