Re: Fade when changing window's rootViewController possible?
Re: Fade when changing window's rootViewController possible?
- Subject: Re: Fade when changing window's rootViewController possible?
- From: David Duncan <email@hidden>
- Date: Sat, 07 Nov 2015 19:36:52 -0800
> On Nov 7, 2015, at 1:30 PM, Diederik Meijer <email@hidden> wrote:
>
> Dear list,
>
> Is it possible to change an iOS app window’s rootViewController at runtime and have a fade animation between the two states happen?
Not trivially, but you can do this trivially by presenting your “replacement” view controller modally, which is also the more supported path (by far).
>
> Obviously there is no modal or push presentation, the view is just replaced by a new one. For this reason a fade between the two would be nice.
>
> This is for iOS 8 and up, coding in Objective-C.
>
>
> Many thanks,
>
>
>
> Diederik
>
>
>
> _______________________________________________
>
> 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
--
David Duncan
_______________________________________________
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