Search code examples
iosxcodenotificationshig

ios/xcode: Possible to send notification when app is in foreground (as alternative to alert)


This may be contrary to HIG...it is not standard..but it occurred to me that after a user sends feedback from withinmy app, it might be nice to flash a quick unobtrusive message "Thank you for your feedback" or something. I don't want to hit the user with a full blown alert. But a discreet notification banner along the top might be nice.

Is it possible to do this or is it disallowed?

Thanks for any suggestions.


Solution

  • Local notification will be received in this case but will not be displayed as you want it. However you can make a custom view similar to iOS view. Also please check https://github.com/OpenFibers/OTNotification