将活动指示器添加到 splitview 控制器的详细视图
我正在开发一个基于 splitview 的应用程序。我有三个详细视图控制器,它们将根据 rootviewcontroller 的选定行显示在 splitviewcontroller 的详细视图部分中。
所有这些详细视图控制器都是从服务器获取数据的表视图。因此,在根视图控制器中选择一行时,需要一些时间来加载相应的详细视图。我想在详细视图中显示活动指示器,直到加载下一个视图。可以有人帮助我吗?提前致谢。
I'm developing a splitview based application.I have three detailviewcontrollers which will be shown in the detailview section of the splitviewcontroller based on the selected row of rootviewcontroller.
All these detailviewcontrollers are tableviews which fetches data from the server.Hence while selecting a row in the rootviewcontroller,it is taking some time to load the respective detailview.I want to show an activity indicator in the detailview till the next view is loaded.Can anybody help me??Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这里(MBProgressHUD)你有一个进度指示器,非常容易集成到代码中,而且非常灵活不说它在 iPhone 的应用程序编程中很方便,它被称为 MBProgressHUD。如果您不喜欢它,您可以随时使用 iPhone 上已有的 NetworkActivity 指示器。
Here (MBProgressHUD) you have a progress indicator that is very easy to integrate into code and very flexible not to say handy in programming applications for the iPhone, it is called MBProgressHUD. If you don't like it you can always use the NetworkActivity indicator that is already on the iphone.
检查 惰性表格图像 非常非常简洁的实现的代码示例...
check lazy table images code sample for a very very neat implementation ...