-1

All,

How would I implement a "Please Wait" alert box while an NSStream gets opened and gets information from a server?

Thanks

Baub
  • 5,004
  • 14
  • 56
  • 99

2 Answers2

4

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.

PengOne
  • 48,188
  • 17
  • 130
  • 149
  • How would I place a UIActivityIndicator into an alert view? – Baub Jul 18 '11 at 20:24
  • @James: Please see [this post](http://stackoverflow.com/questions/4906726/how-can-i-do-uialertview-with-activity-indicator) for a nice implementation of just that. – PengOne Jul 18 '11 at 20:25
1

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

Community
  • 1
  • 1
Louie
  • 5,920
  • 5
  • 31
  • 45