Open mhaleem opened 9 years ago
Thank you for sending this PR! Do you think it would make sense to use view controller presentation also outside of app extension? It would make the code more straighforward.
AHKActiomSheet is currently presented in UIWindow, because that was the way UIActionSheet worked.
That was my first thought to use AHKActionSheet in a viewcontroller incase of app extension but then i found it will not give us the same functionality as it is now, simply with the PR i have submitted you can use the extension viewcontroller itself and the AHKActionSheet will behave exactly the same as it is currently.
Support Presenting AcitonSheet directly through UIViewController and add precompile preprocessors to avoid compilation errors for App Extensions targets.