我在这行获得在Xcode版本6崩溃
-[UITabBarController setSelectedViewController:]
'NSInvalidArgumentException', reason: '-[UITabBarController setSelectedViewController:] only a view controller in the tab bar controller's list of view controllers can be selected.'
它在Xcode 5 self.selectedIndex是给垃圾值正常工作。
有没有人有一个想法如何解决这个问题。 该代码是最初写在Xcode 4.0
谢谢