1. Hybrid development is to directly use UIwebView to intercept H5Url, (negotiated in the URL) to determine what action needs to be done, such as demo: http://download.csdn.net/detail/zaiwei123456/9453561< /p>
2, or use a third-party library to bridge the native and H5: WebViewJavascriptBridge SDK and demo are available on GitHub, so I won’t be wordy anymore.
Note: This file is only a personal backup for the author. Thanks to the original author of the code.