iOS Show UIAlert in Safari when using My App's Share Extension -


i'm developing simple content blocker ios 9+ devices. seems working fine in terms of blocking ad's / trackers etc , have ability 'whitelist' websites directly safari using share extension action.

my question when user taps action > apps share extension [which adds list inside main app] want show simple alert says 'this site has been added whitelist..." few seconds , disappear.

... how do this?

**update have read of apples documentation on still can't figure out. post here refer how design streamlined ui doesn't cover situation.

hoping know :-)

why don't use notifications , can have notification style set show uialert. can see in calendar app in ios.

update:

i did little bit more digging , it's not possible change style programmatically according this. best choice handling when app in foreground. can't think of other os wide solution other local notifications.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -