0

I have iPhone messaging app and I have to use push notifications. Like iMessage, I'd like to have the alert when the app is in background. Innstead I'd like to not have the alert when the app is open, I'd like only to handle the notification to show the new messages. Can you help me? Thanks.

Anna565
  • 735
  • 2
  • 10
  • 21
  • Did you read any documentation about Push notifications on iOS, because all your question are answered here: https://developer.apple.com/notifications/ – rckoenes Mar 21 '14 at 08:52
  • Ok but I don't understand, can you explain to me? – Anna565 Mar 21 '14 at 09:11
  • Since I don't know what part you do not understand my answer will be too big for StackOverflow. I suggest you use google to search from some tutorials. – rckoenes Mar 21 '14 at 09:14
  • The question is exactly what I have write in this question – Anna565 Mar 21 '14 at 09:41
  • That is way too broad, also you should try to solve the issue your self before posting it where. – rckoenes Mar 21 '14 at 09:47
  • I try to solve the issue and I have a specific problem: hide the alert when a push arrives. This is not the way to help to solve a problem. If you don't know the answer or you don't want to answer, simply don't answer. I don't understand this attitude. – Anna565 Mar 21 '14 at 13:45
  • Well just to inform you, there is no alert dialog shown when you app is in the foreground. So there is nothing to hide. Also please read the [how to ask](http://stackoverflow.com/help/how-to-ask). I a library you use show the dialog then many you might want to not use that library or look if you can disable it in the documentation of that library. – rckoenes Mar 21 '14 at 14:03

0 Answers0