开发者

Replace View with another View

I got a XIB-File with a View. Between the TabBar and the TopBar I have placed another View. Now I want to replace the second View with other Views. Is this possible? And if it is, how can I do this? Code like "addSubview" oder "pushView开发者_高级运维Controller" doesn't work.

Thanks for your help. Greetings.


addSubview would be used say if you programmatically created a UIButton and wanted to add it to the view.

pushViewController requires you to have a UINavigationController.

Your question doesnt clearly explain what you want to do.

Do you want to switch a view with another view, like an image rollover in HTML?

Or do you want to go to another view controller that has other objects on it?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜