PDA

View Full Version : adding popup windows like safari




santoshgornal
Jan 16, 2009, 06:43 AM
Hi all,

i want to add popup window to the screen,
for example
if u click on safari browser a web page will be opened,
you can see events at bottom like +(plus symbol) and book marks
when u click on +(plus symbol) a popup window with three buttons is shown
like "Add to Bookmarks" "Add to Home Screen" ,"Cancel"

like this i want to create popup window any help is appreciated

thanks
santosh g



robbieduncan
Jan 16, 2009, 06:54 AM
As clearly described in the documentation (http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/ModalViews/chapter_10_section_4.html#//apple_ref/doc/uid/TP40006556-CH11-SW13) that you should have fully read and understood before writing any code you want an Action Sheet. These are provided using the cunningly named UIActionSheet (http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIActionSheet_Class/Reference/Reference.html) class.