作者sohumi (皮老板)
看板MacDev
标题[问题] NSURL开启APP後不断地跳出Alert?
时间Fri May 19 13:09:58 2017
使用nsurl来开启一个app,如下
NSString *customURL = @"schema+参数";
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:customURL]];
开启後出现alert "appA wants to open appB"
然後不管按Cancel或Open都会不断地跳出这个alert.
但这个现象只出现在一支手机(iphone7), 另两只iphone7+, iphone5则正常运作.
是因为用了旧语法的关系吗?
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 118.163.24.230
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/MacDev/M.1495170602.A.F32.html
1F:推 oyaji5566: 检查LSApplicationQueriesSchemes 05/19 15:36