Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 06-06-2011, 06:48 PM   #1 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 285
mickm is on a distinguished road
Default hiding alert views

i have a window that when up, i don't want any alert views popping up over it. the following takes care of that, but has some other side effects, like not showing the status bar, which just comes out as white space:

Code:
((MyAppDelegate*)([UIApplication sharedApplication].delegate)).window.windowLevel = UIWindowLevelStatusBar;
is there a way i can detect if an alert view is about to be opened and, say, put it behind the current view, if the view is the one i don't want alerts popping up over?

any other thoughts of how to handle this?
mickm is offline   Reply With Quote
Old 06-06-2011, 07:43 PM   #2 (permalink)
Just helping out.
 
Domele's Avatar
 
Join Date: Feb 2011
Posts: 2,565
Domele is on a distinguished road
Default

I don't think you can. Sorry. At least iOS 5 will make alerts less intrusive.
Domele is offline   Reply With Quote
Old 06-07-2011, 11:43 AM   #3 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 285
mickm is on a distinguished road
Default

Quote:
Originally Posted by Domele View Post
I don't think you can. Sorry. At least iOS 5 will make alerts less intrusive.
yea, i'm not finding much else. been playing with various window level settings, and not getting any results.

the first way is setting the main app window level. i tried setting the window level of the controller that i don't want these popping up over, and that isn't working.

still trying to figure out if there is a way to do this...
mickm is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 386
18 members and 368 guests
Absentia, AyClass, Diligent, dre, fvisticot, givensur, jbro, jPuzzle, momolgtm, Newbie123, Paul10, Punkjumper, revg, sacha1996, skrew88, taylor202, tomtom100
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,643
Threads: 94,110
Posts: 402,858
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Diligent
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:40 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0