开发者

iphone intercept link

开发者 https://www.devze.com 2023-03-31 10:45 出处:网络
i have an app that intercepts a link in a uiwebview,but I want to get that link string [you tube link] to start the player ,

i have an app that intercepts a link in a uiwebview, but I want to get that link string [you tube link] to start the player ,

  • I have the youtube player working with a hardcoded url, [opening in a modal view]
  • and have the url path once the link is tapped from the web site, 开发者_Python百科going to a string

but havent figured out yet how to stop the uiwebview from going to the pressed link, getting the link string and opening my modal view with the player

If I use

webView shouldStartLoadWithRequest

retun NO

the link gets invisible,

so how to accomplish this?

thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消