What's the best way to programmatically choose which view controller will be 
used to segue to? The storyboard was initially set up to segue to a particular 
view controller, but now I want to choose a different target depending on a 
user setting.

I ask because there appears to be no simple way to switch a 
UIPageViewController from showing 1 page at once to 2 pages at once aside from 
loading a different one from the storyboard, or by allocating a different one 
programmatically. Seems like a huge oversight on Apple's part. So when I segue 
to this view, I need to choose the 1-page or 2-page version, depending on the 
user setting.

There's no mention of using a different view controller in 
prepareForSegue:sender:'s docs.

Sent from iCloud's ridiculous UI, so, sorry about the formatting
_______________________________________________

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]

Reply via email to