I need to put it some custom logic into my iPhone app so that depending on what iOS version you are running, choose a different XIB file (i.e. iPhone or iPad will show different XIB files).
I had built the whole iPhone app from day one and its all good, using a tabbarcontroller and the standard navigation controllers in each tab.
So I implemented the :
- (id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle
method, only to find that it does not get called. (I have a breakpoint and log statements in it and nothing gets hit).
Does anyone know why this might be? OR how can i achieve this functionality?
I have read somewhere that initWithNibName is only called when you call it, i.e. when you programatically construct your view hierarchy, is this true??
thanks a lot...