Subscribe ( )

iPhone Programming Tutorials

 

Forum

You must be logged in to post Login Register

Search 

How to do a pop-up dialog box?

User Post

6:59 am
October 22, 2008


iCoder

Derbyshire, UK

posts 8

1

I've been rummaging through the apple docs, and googled a bit, and can't find out how to pop up a dialog box….a sort of “Are you sure you want to delete EVERYTHING?” with a Yes/No button. Is it just a regular UIview but not full screen?

Thanks in advance.


4:30 pm
October 22, 2008


jab2109

Noob

posts 5

2

You're looking for a UIAlertView. You can initialize the view with a title (”Are you sure you…”) and button titles (”Yes,No”). Once you map the buttons to the correct alert view controller methods, you're all set.

3:21 am
October 23, 2008


iCoder

Derbyshire, UK

posts 8

3

Hey thanks jab, I'll read up on that class.



About the iCodeBlog forum

Currently Online:

5 Guests

Maximum Online: 19

Forums:

Groups: 2

Forums: 6

Topics: 156

Posts: 503

Members:

There are 268 members

There are 1 guests


Brandon has made 81 posts

Top Posters:

bobcubsfan - 48

crazyiez - 30

Uhu - 17

VertigoSol - 17

Nick - 15

Administrator: Brandon | Moderators: VertigoSol


© - Version 3.1.4 (Build 357)  

Share and Enjoy: