iphone - UIALertView customization -
i developing iphone application, in want use customized alert sheet. customization required since want set image alert-sheet buttons, change size of these button etc.
i have done following things:
- created uiview customized controls wanted.
- created , displayed uialertview
in delegate method of uialertview (uialertviewdelegate) i.e
- (void)willpresentalertview:(uialertview *)alertview
i removing subviews of uialertview , adding customized view subview.
everything works fine till here. since have used customized buttons, need remove alert sheet explicitly in action method of button calling dismisswithclickedbuttonindex:animated: on uialertview. though uialertview gets dismissed, takes around 0.5 second dismissed. can me out solve problem of delay in dismissing or other way of customization of alert view buttons.
thanks , regards, deepa
i worked passing yes dismisswithclickedbuttonindex:animated
: call i.e [alertview dismisswithclickedbuttonindex: 0 animated: yes]
. passing flag no. but, don't know whey takes less time if pass animation flag yes. knows this?
Comments
Post a Comment