I have not tried this myself but maybe this is what you are looking for: UIAdaptivePresentationControllerDelegate
presentationController:viewControllerForAdaptivePresentationStyle: Regards, Puneet On Wednesday, April 27, 2016, Rick Mann <[email protected]> wrote: > I have a custom UI view controller presentation using > UIPresentationController and UIViewControllerTransitioningDelegate. But I'm > wondering how best to do this only on iPad and iPhone 6 plus, and to use a > regular modal presentation on other iPhones. Is that even an appropriate > desire? > > Basically, I show a small details view for my app's objects. But it's big > enough that it should just fill the screen (and act like a modal > presentation) on the smaller devices. > > Suggestions? Thanks. > > -- > Rick Mann > [email protected] <javascript:;> > > > > _______________________________________________ > > Cocoa-dev mailing list ([email protected] <javascript:;>) > > 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: > > https://lists.apple.com/mailman/options/cocoa-dev/excelpbhardwaj999%40gmail.com > > This email sent to [email protected] <javascript:;> _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
