dogo / SCLAlertView

Beautiful animated Alert View. Written in Objective-C
MIT License
3.5k stars 534 forks source link

SCLAertView cannot be used in Shared Extension #283

Closed tsvidya closed 5 years ago

tsvidya commented 5 years ago

Tried compiling SCLAlertView in the shared extension. But I get the following compiler error. 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.

Is there an way out for this ?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

balusreekanth commented 4 years ago

You can Set Require Only App-Extension-Safe API to “NO”. in build settings for SCLAlertView target and compile . pic : https://askadmin.com/sharedapplication-is-unavailable-not-available-on-ios-app-extension/