Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to change between views in iOS

How do you go from one view to another? Is

[window addSubview:myView];

The only option or is there a better way to do this?

like image 771
Namratha Avatar asked Mar 02 '11 07:03

Namratha


1 Answers

First look at Apple's View Controller Programming Guide for iOS. You might start with a navigation-based interface it sounds. What you say is strictly true, but you want to take advantage of features like animation, which come for 'free' if you use Apple's view controller classes.

like image 93
petert Avatar answered Sep 28 '22 22:09

petert