For example, there is one main View, an introduction TestViewController, TestView contains a TableView, and to achieve the desired proxy method.
Now in the main View in addSubview: TestViewController.view
The result is that after the main run ViewWillAppear View full show when the page is being added to the View to show TableView not properly adjusted when written in TestViewController proxy methods. . Someone encountered such a problem?
[__NSArrayM NumberOfSectionsInTableView:]: unrecognized selector sent to instance 0xd808980
Reply:
Array To call [init] or else will go wrong
Reply:
Please ignore this error message each time you run in front of __NSArrayM mistakes in front of the focus is not the same I do not know why it can not tune this method numberOfSectionsInTableView
Reply:
Check for a long time, you need to add addchildController in order to call in the main ViewController ~ ~
No comments:
Post a Comment