且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

视图一次只能与一个视图控制器关联(UISegmentedControl)

更新时间:2023-11-18 14:28:10

确保您的ViewController不包含其他视图控制器对象。例如,如果您的主视图控制器有一个tableview,请不要将UITableViewController放入。它曾用于传递iOS 5,但在iOS 6中它们不允许这样做。

Make sure your ViewController does not contain another view controller object. For example if your main view controller has a tableview, do not put the UITableViewController with in. It this used to pass in iOS 5, but in iOS 6 they will not allow this.