views:

55

answers:

2

hello friendz ,

i juzz want to know that how we can add new window or view on the click of an alertview button in iphone?

A: 

Hello, I'm not sure you can do that from an AlertView since alertviews are meant only to display a specific alert not to take an action. I guess you better off using an ActionViews which is recommended by Apple if you want to perform a certain action from a model view in iphone. Regards,

mshaaban
hey man , can we open a new view through the actionView
Anki
In action views you can have more than one button and you can assign actions to this buttons, so depending on what action you want to take you can do whatever you want including adding subViews or showing or hiding views ...
mshaaban
that also possible in alertview, i am using mainly two buttons and will show in alertview. so i think i can also use alertview
Anki
A: 

how to open a view on the click event of the button in iphone application?

Anki