• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Popover presentation on iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: iOS 9 or Watch App
  • Next by Date: Re: Is it possible to transfer data by using light
  • Previous by thread: Re: iOS 9 or Watch App
  • Next by thread: Error unwrapping an optional which isn't an optional
  • Index(es):
    • Date
    • Thread