[問題] NSURL開啟APP後不斷地跳出Alert?
使用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://www.ptt.cc/bbs/MacDev/M.1495170602.A.F32.html
推
05/19 15:36, , 1F
05/19 15:36, 1F
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章