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? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -