开发者

Adding/removing viewcontrollers view

If I instantiate a lets say, UISegmentedControl. And link each button to add a vi开发者_如何转开发ewcontrollers view to the viewhierachy, would it be enough to just add that view to the stack or must I call other methods aswell. And what about removing views? Would it be sufficient to just say

I do NOT have the correct syntax in front of me right now so bear with me.

[self removeSuperview];

Is it necassary to call methods on the viewcontroller itself?


Use a NavigationController and either push or present Modally the views. The you can just pop or dismiss them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜