"Please Wait" while NSStream [closed]
All,
How would I implement a "Please Wait" alert box while an NSStream gets opened and gets information from a server?
Thanks
So use UIAlertView
and maybe throw in a UIActivityIndicator
. Or you can just present a custom view modally with alpha around 0.5
or something and do a custom job of it.
Take a look at this answer. It shows how to dim the screen with a custom "please wait" view. It also includes the code and Image. Take a look at the screen shot at the bottom of the answer to see how it looks. You will not need to include the email stuff, only the wait screen. Or you can just use a alertview like @Pengone has suggested.
Locking the Fields in MFMailComposeViewController
精彩评论