I am trying to create a reusable "picker". It is basically like a keypad of a phone. Since I will be using this a lot in my iPhone app, I have been frustrated with trying to make it appear.
It is in its own XIB file and has its own UIViewController subclass as the FileOwner. However, when I instantiate this with:
MonthPickerViewController *mpvc
= [[MonthPickerViewController alloc] initWithNibName:@"MonthPicker"
bundle:nil];
Nothing happens on the screen. Yet is does fire the -viewWillAppear
methods, etc.
So, what am I doing wrong either in code or in InterfaceBuilder that is preventing my view to appear?