Web View and Native layer communication in IOS Swift Shows how to communicate from WebView to Native layer and vice-versa. Using JavaScript, the same can be achieved conveniently. Source code for Article in Medium Android source can be found in Github over here