访次: AmazingCounters.com 次

10 2017 档案

摘要:1.此方法最好在页面加载完成后调用 2.js代码不能有空格之类的 NSString *js = [NSString stringWithFormat:@"iosCallback(\'%@\')", 你要传的数据]; [self.web evaluateJavaScript:js completion 阅读全文
posted @ 2017-10-27 15:45 JusDoit 阅读(4573) 评论(0) 推荐(0)
摘要:1. //UIWebView的代理方法拦截 func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest, navigationType: UIWebViewNavigationType) -> Bool {se 阅读全文
posted @ 2017-10-27 15:31 JusDoit 阅读(444) 评论(0) 推荐(0)
摘要:根据github上开源的代码forked from fuzheng0301/FaceRecognition(基于科大讯飞二次开发) 进行了三次开发共六个动作 持续摇头 持续点头 左右旋转手机 张嘴 前后晃动手机等并随机组合顺序共120种可能 下载地址 阅读全文
posted @ 2017-10-11 17:31 JusDoit 阅读(826) 评论(0) 推荐(0)
摘要://播放和拍照声音波形相反的声音文件 中和声音 声音下载 static SystemSoundID soundID = 0; if (soundID == 0) { NSString *path = [[NSBundle mainBundle] pathForResource:@"data.bund 阅读全文
posted @ 2017-10-11 16:30 JusDoit 阅读(758) 评论(0) 推荐(0)