开发者

"Please Wait" while NSStream [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying thi开发者_高级运维s question so that it can be reopened, visit the help center. Closed 11 years ago.

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜