How to have a « waiting » UIAlertView (UIAlertView without buttons)

Home/English/Development Tips/To Begin with Objective-C / Cocoa/How to have a « waiting » UIAlertView (UIAlertView without buttons)

You surely often see on several application an UIAlertView telling you to wait until something happens (sending information to a server, etc) like this :

Well it can easily be done using a « normal » UIAlertView with some simple customization :

Now, when you want to make it disappear, you must « simulate » the user touch on the normal Cancel button like this :

[/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]

About the Author:

One Comment

  1. cutmaster 1 septembre 2011 at 10 h 26 min

    Good idea.
    But you must keep in mind that, to dismiss your alert, the UIAlertView * alert must be placed in your .h file to keep a pointer on it 😉

Comments are closed.



NOUS CONTACTER

WPTechnology - SeeYouDancin SAS
Demande de devis, besoin d'information, n'hésitez-pas :

Contactez-nous