Re: Custom-vs-modal presentation?

2016-04-28 Thread Puneet Bhardwaj
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  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
> rm...@latencyzero.com 
>
>
>
> ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com )
>
> 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 excelpbhardwaj...@gmail.com 
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Custom-vs-modal presentation?

2016-04-26 Thread Rick Mann
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
rm...@latencyzero.com



___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com