Popover presentation on iPhone
Popover presentation on iPhone
- Subject: Popover presentation on iPhone
- From: Joseph Menezes <email@hidden>
- Date: Mon, 21 Sep 2015 20:06:22 +0530
Hi,
I had implemented a popover presentation in iPhone with iOS 8.4 SDK. When i compiled this code in iOS 9, this implementation is not working. The popover is displayed as full screen.
Even if i set, modalPresentationStyle of the presented view controller to be UIModalPresentationPopover and set the popoverPresentationController delegate to my custom view controller, none of the delegate methods get called.
The documentation for âUIModalPresentationPopover" says
"In a horizontally regular environment, a presentation style where the content is displayed in a popover view. In a horizontally compact environment, this option behaves the same as UIModalPresentationFullScreen.â
is that means it is not possible to present a modal view controller as popover in iPhone? even though implementing the delegate method,
- (UIModalPresentationStyle)adaptivePresentationStyleForPresentationController:(UIPresentationController *)controller traitCollection:(UITraitCollection *)traitCollection
{
return UIModalPresentationNone;
}
Regards,
Joseph Menezes
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden