当您从我的应用程序中点击 vine 网址时,我正在尝试打开 vine 应用程序。正在做
NSURL *url = [NSURL URLWithString:@"vine://http://vine.co/v/biTaEEwdq2n?1"];
[[UIApplication sharedApplication] openURL:url];
确实会打开应用程序,但不会导航到视频。知道这是怎么做到的吗?可能吗?
After looking at the Javascript on vine.co, I've found that the correct scheme for a post is : vine://post/<#id#>
. So, let's try this vine://post/biTaEEwdq2n
It works for me.
尝试使用vine://v/biTaEEwdq2n
或vine://video/biTaEEwdq2n
作为 URL。
vine 个人资料页面的 URL Scheme 是 vine://user/USERID
例如: vine://user/126850376482649253