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

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -