Skip to content

Add Support For App Extensions#29

Open
mhaleem wants to merge 2 commits into
fastred:masterfrom
mhaleem:master
Open

Add Support For App Extensions#29
mhaleem wants to merge 2 commits into
fastred:masterfrom
mhaleem:master

Conversation

@mhaleem

@mhaleem mhaleem commented Aug 28, 2015

Copy link
Copy Markdown

Support Presenting AcitonSheet directly through UIViewController and add precompile preprocessors to avoid compilation errors for App Extensions targets.

@fastred

fastred commented Sep 5, 2015

Copy link
Copy Markdown
Owner

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.

@mhaleem

mhaleem commented Sep 5, 2015

Copy link
Copy Markdown
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants