0

I've been trying forever to get this to work, when I send a push notification to my app. When the user opens it, it just takes them to the app. I want to direct them to a specific uiview, how do I do that?

Arian Faurtosh
  • 17,987
  • 21
  • 77
  • 115

1 Answers1

3

The method application:didReceiveRemoteNotification: is called if your app is running (whether in the background or not).

So that would be the starting point to direct them to the specific UIView.

You can tell whether your app was just brought to the foreground or not in the code in the following answer

Hope this helps .

Community
  • 1
  • 1
werner
  • 859
  • 4
  • 8