【发布时间】:2016-11-08 11:16:29
【问题描述】:
这是我第一次使用 stackoverflow,而且我对这门 Objective C 语言还很陌生。在一个视图控制器中加载页面的最佳解决方案是什么?
欢迎参考,我真的是新的伟大的编码人员的帮助:(
有人说在使用 IBAction 时,加载一个 NewViewControllers,但有人说在那里放 modal View。但是,应该有返回按钮,所以我不能使用模态视图
in one single viewController there should be a new view coming out when pressing the button
this is main page when i press the button it moves to image 1
【问题讨论】:
-
欢迎来到 Stack Overflow :-) 请查看 How to Ask 以及如何创建 minimal reproducible example。这将有助于获得有用的答案。
-
只需要新建一个 UIView 并添加 self.view。完成后,将其删除。
-
问题太模糊了。你想达到什么目标?
-
好吧,当按钮被选中时,应该会加载新视图!仅此而已,但我无法开始如何...
标签: ios objective-c uiviewcontroller uibutton ibaction