For iOS 10 , we worked to show notification banner even when app is open.
In this task, we will write logic that banner should not be displayed if i have already opened chat window of the contact who sent the message. Banner should be displayed only if i am on any other screen.
For iOS 10 , we worked to show notification banner even when app is open. In this task, we will write logic that banner should not be displayed if i have already opened chat window of the contact who sent the message. Banner should be displayed only if i am on any other screen.