Situation:
- Custom controller that works fine under all circumstances... except in 1 case
- A storyboard with a tab bar controller as root
- Everything in the storyboard except the custom controller is pure prototyped in IB. Other than my custom controller, there is no code, just things dragged onto the story board. (I'm in the UI prototyping phase.)
- When I make the custom controller the first tab in the tab bar controller, it works fine.
- When connect the custom controller anywhere else in the storyboard, eg. as a modal controller for some other tab or as a controller in a navigation chain, it works fine too.
- When I make the custom controller a tab in the tab bar controller that's NOT the first tab, it crashes.
The debugger says nothing more than 'BAD ACCESS'. The stack track shows nothing more than a crash in objc_msgSend and then UIApplicationMain. No useful debug information printed out.
Any suggestions?
Thanks, Tom