Click not working and tap is working

In native IOS application I have to close a pop up.
When I click it, its not closing but when i use tap function with coordinates retrieved by webelement.getlocation() its working.

mykola-mokhnach, Aleksei any help

use click when you switched context to WebView and tap in native.

We have a native application where we are using click and is working perfectly fine except this case.
The coordinates are same for click and tap but tap is performing the action where as click is not.
Any idea