iphone - Dismissing a UIAlertView on any touch -


i trying use uialertview label (no title or buttons, display text) aesthetic purposes. want able continue use else in app (touch other buttons, etc.) while alert view being shown. unfortunately, cannot seem invoke touchesbegan or selector using uitapgesturerecognizer while alert view shown. these both work when alert view not shown, seems alert view disables detection of touches (other touching own buttons if had them).

does know way work around this? if create uilabel , set background alert view image work.

thanks help.

the alert view puts new window on top of entire screen intercepts touches. it's expressly designed prevent doing you're trying do. why trying abuse alerts in manner anyway? it's bad idea take existing ui , use them in non-standard ways, possible reason rejected.

your best bet draw "alert view" yourself, either in code or pre-baked image. unfortunately means cannot leverage built-in code draws uialertview, it's best don't try appear identical uialertview anyway.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -