I have upgraded my project but its strange that UIActionSheet not showing in window.
UIWindow* window = [[[UIApplication sharedApplication] delegate] window];
[actionImageProcess showInView:window];
What's the another solution for that..
I have upgraded my project but its strange that UIActionSheet not showing in window.
UIWindow* window = [[[UIApplication sharedApplication] delegate] window];
[actionImageProcess showInView:window];
What's the another solution for that..
It doesn't work because Apple changed internal implementation of UIActionSheet. Please refer to the documentation
Important: UIActionSheet is deprecated in iOS 8. (Note that UIActionSheetDelegate is also deprecated.) To create and manage action sheets in iOS 8 and later, instead use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet.
Subclassing Notes
UIActionSheet is not designed to be subclassed, nor should you add views to its hierarchy. If you need to present a sheet with more customization than provided by the UIActionSheet API, you can create your own and present it modally with presentViewController:animated:completion:.