草庐IT

videoScreen

全部标签

iphone - 是否可以在没有触摸的情况下与 UIWebView 交互?

我正在尝试在不触摸屏幕的情况下与UIWebView中加载的页面进行交互。我试过mediaplaybackrequiresuseraction但没有成功。我也试过提供的方法here,但显然它在ios6中不起作用。我正在尝试加载thisurl并让播放器开始播放。有谁知道如何使这个工作ios6?非常感谢任何帮助。我的代码-(void)tableView:(UITableView*)tableViewdidSelectRowAtIndexPath:(NSIndexPath*)indexPath{intstoryIndex=[indexPathindexAtPosition:[indexPath

iphone - 是否可以在没有触摸的情况下与 UIWebView 交互?

我正在尝试在不触摸屏幕的情况下与UIWebView中加载的页面进行交互。我试过mediaplaybackrequiresuseraction但没有成功。我也试过提供的方法here,但显然它在ios6中不起作用。我正在尝试加载thisurl并让播放器开始播放。有谁知道如何使这个工作ios6?非常感谢任何帮助。我的代码-(void)tableView:(UITableView*)tableViewdidSelectRowAtIndexPath:(NSIndexPath*)indexPath{intstoryIndex=[indexPathindexAtPosition:[indexPath