tags:

views:

25

answers:

0

Hi All, I am facing one issue regarding the interacting with Actionsheet. On view I have textfield and navigation right button : on clicking of which I display the action sheet with options. Now problem is coming I am not able to select any option from action sheet,When User clicks the rightbar button and keyboard is ON. in Action selected I have added

[iPostmsgView.iTextField resignFirstResponder]

Which fires the

-(void)KeyboardDisappeared:(NSNotification*)aNotification

In which I have added code regarding moving the view down which was shifted upwards during the

-(void)KeyboardAppeared:(NSNotification*)aNotification

Now sequence is coming

1.    -(void) ActionSelected
2.    [iPostmsgView.iTextField resignFirstResponder]
3.    [iActionSelectionSheet showInView:self.view];
4.    -(void)KeyboardDisappeared:(NSNotification*)aNotification

This tends to display the action sheet but I am not able to click any item.

It seems the view on which we are adding the action sheet is getting disturbed while KeyboardDisappeared event.

Please help on this.

Thanks,

Sagar