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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

c# - Asterisk click to call -