Read the documentation, it's all in there. If you don't understand it, start with general tutorials on iOS development or ask specifically about the parts you don't understand. You will need a solid understanding of how view controllers work before it makes sense to work with popovers. The View Controller Programming Guide also has a section specifically about popovers.
发布评论
评论(3)
在按钮操作的视图控制器中编写以下代码:
现在您已经在该表视图控制器中为弹出窗口创建了一个表视图:
in your viewcontroller on the button action write this code:
Now you have created a tableview for popover in that tableviewcontroller write:
阅读文档,全部在那里。如果你不明白,请从一般开始 iOS开发教程或者有不懂的地方专门询问。在使用弹出窗口有意义之前,您需要充分了解视图控制器的工作原理。 视图控制器编程指南还有专门关于弹出窗口的部分。
Read the documentation, it's all in there. If you don't understand it, start with general tutorials on iOS development or ask specifically about the parts you don't understand. You will need a solid understanding of how view controllers work before it makes sense to work with popovers. The View Controller Programming Guide also has a section specifically about popovers.
在这里:-
1) TAbleViewController 有您想要加载的表。
2)我将其添加到导航控制器中
3)弹出窗口的导航控制器
Here in this :-
1) TAbleViewController has the table you want to load .
2) i am adding this to the navigation controller
3) navigation controller to the popover