开发者

Making a loading page (waiting view) for iPhone apps and games

开发者 https://www.devze.com 2022-12-16 01:17 出处:网络
I have seen quite number of games in Iphone. I开发者_开发百科 see there is loading page (waiting view) when the scenes switch. Like scene A goes to scene B, it takes time to load right? but to let the

I have seen quite number of games in Iphone. I开发者_开发百科 see there is loading page (waiting view) when the scenes switch. Like scene A goes to scene B, it takes time to load right? but to let the user know so the developer put the waiting view. I am not sure how to do it. I am still new with that, just built one game, and there are still problems, I think that will help me. So anyone knows please share with me your knowledge.

Thank you in advance


you can create some viewController class to represent your waiting screen logic, then just use presentModalViewController:animated: method to show it. when you don't need it, just call dismissModalViewControllerAnimated: method.


You can use UIActivityIndicatorView control. See following
http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIActivityIndicatorView_Class/Reference/UIActivityIndicatorView.html

0

精彩评论

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

关注公众号