开发者

Adding activity indicator to the detail view of a splitview controller

开发者 https://www.devze.com 2023-04-04 18:20 出处:网络
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 ro

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.


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 ...

0

精彩评论

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