View not displaying in navigation hierarchy when interrupted by UILocalNotification
When I hit the save button in the second level of my navigation hierarchy, I pop the view开发者_运维知识库 controller (animated) and then present a local notification.
The problem is that when my application delegate receives a local notification it pushes a third view controller (not animated).
Since a new view controller is pushed as the old one is being popped, the new one is on top of the stack while the view of the old one is displayed.
The notifications are usually scheduled, but I observed some occasional odd behavior and this is the cause.
精彩评论