iphone - 1 ViewController and 2 XIBs for 2 orientations, how? -
one viewcontroller shared 2 xibs, i.e. there 1 xib horizontal layout , 1 vertical layout. both xibs linked same viewcontroller, i.e.:
hiscoreviewcontroller.h hiscoreviewcontroller.m hiscoreviewcontroller-horizontal.xib hiscoreviewcontroller-vertical.xib
the question how can (re)load corresponding xib in didrotatefrominterfaceorientation
?
thanks!
you can use different views in 1 view controller. can change views based on orientation.
Comments
Post a Comment