Change your delegate method to:
func adaptivePresentationStyle(for controller: UIPresentationController, traitCollection: UITraitCollection) -> UIModalPresentationStyle {
// return UIModalPresentationStyle.FullScreen
return UIModalPresentationStyle.none
}
More Related Contents:
- Populating information in swift 3 for iPad
- Figure out size of UILabel based on String in Swift
- UIPopoverPresentationController on iPhone doesn’t produce popover
- How to show UIAlertController from Appdelegate
- Detect if the application in background or foreground in swift
- Issue while adding action to UIButton in Swift 3.0
- How can I develop for iPhone using a Windows development machine?
- AnyObject not working in Xcode8 beta6?
- Do I need to disable NSLog before release Application?
- viewWillDisappear: Determine whether view controller is being popped or is showing a sub-view controller
- How to create .ipa file using Xcode?
- didFailWithError: Error Domain=kCLErrorDomain Code=0 “The operation couldn’t be completed. (kCLErrorDomain error 0.)”
- iOS 8 enabled device not receiving PUSH notifications after code update
- Restrict to certain iOS target devices for App Store submission
- Steps to upload an iPhone application to the AppStore
- Resizing a UILabel to accommodate insets
- Swift 3 Core Data Delete Object
- How to stop multiple times method calling of didUpdateLocations() in ios
- Application crashed while importing songs from Ipod library in iPhone for iOs 5.0
- Entitlements file do not match those specified in your provisioning profile.(0xE8008016)
- Color Tint UIButton Image
- Pull to refresh UITableView without UITableViewController
- UIView – How to get notified when the view is loaded?
- Detect iOS application about to delete?
- dial USSD code from iphone programmatically [duplicate]
- What are File Owner and First Responder in iOS – Xcode?
- Take screenshots in the iOS simulator
- The app delegate must implement the window property if it wants to use a main storyboard file swift
- How to use both google+ and facebook login in same appdelegate.swift
- NEHotspotHelper annotations not appearing