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:

  1. created uiview customized controls wanted.
  2. created , displayed uialertview
  3. 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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -