UIActionSheet in iOS8 saves views

I am using UIActionSheet in iOS8 (my app needs to support iOS7), but it looks like in iOS8, UIActionSheet saves the view! I made a simple application where I have two view controllers in my navigation view controller, ViewController1 and ViewController2.

ViewController2 is an action sheet. In my delegate, which is itself a view controller, I dismiss the view controller.

- (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex {
    [self.navigationController popViewControllerAnimated:YES];
}

      

What I observe is that in iOS8.1 this action file somehow retains the view it is presented with. In iOS 7.1 this works great.

Does anyone stumble upon this or find any workarounds? I created https://github.com/brightredchilli/iOS8-actionsheet-tests as a proof of concept.

+3
ios ios8 ios8.1 uiactionsheet


source to share


No one has answered this question yet

Check out similar questions:

36
Problem with UIActionSheet
fourteen
Save / free template for UIPopoverController, UIActionSheet and modal view controllers?
five
How do you remove the UIActionSheet from the delegate app?
five
Double click external sheet of action exposed using UIAlertController reverts to parent view in ios8 xcode 6 beta 5
2
UIActionSheetIndex Button
1
Can't push viewcontroller from appdelegate
0
Perform UIActionSheet action on another view controller?
0
Disable UIActionSheet on iPad without animation
0
ActionSheet clickedButtonAtIndex is used by two different actions
0
UIA Rotation Table



All Articles
Loading...
X
Show
Funny
Dev
Pics