The moose likes iOS and the fly likes Alert view or Modal popup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » iOS
Bookmark "Alert view or Modal popup" Watch "Alert view or Modal popup" New topic

Alert view or Modal popup

Paul Morano

Joined: Oct 08, 2002
Posts: 8
Hi Rory,

Question on alert views and modal popups. The app I'm developing needs some kind of notification to the user asking if the screen should be reset or not. Do you think this is better handled with an alert view or a modal popup (ie. like a alert that slides up from the bottom of the screen)? If I had my choice, I think the alert looks nicer but I figured I would try and get your thoughts.

Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 471

IMHO, I believe that the alert is much better. For me, modals are for showing other view controller (mail sending, SMS sending, settings, etc.)

Visit my blog:
Jess Ryan

Joined: Feb 16, 2008
Posts: 21
Yes, I agree that the alert would be more appropriate since it is requiring only a simple yes-no answer.
snehasish barman
Ranch Hand

Joined: Aug 16, 2008
Posts: 30

Since the action requires a screen reset which can be destructive one with context to the application, it is better to show it with a modal popup like UIActionSheet or your own.

Adobe Certified Expert Flex 4(ACE) (89%), SCJP 5.0 (97%), SCWCD 5.0 (100%), Adobe AIR/Java /J2EE/Spring/Apple iPhone & iPad Application Developer.
~~~ Arise, awake and stop not till the goal is achieved ~~~
I agree. Here's the link:
subject: Alert view or Modal popup
It's not a secret anymore!