objective c - Deep Linking for iOS Apps which are not installed yet? -
i want use deep linking specific place in app using lib like: https://github.com/usebutton/ios-deeplink-sdk
i know how make deep linking when app installed on device.
how can deep link app not installed on device, i.e., link refers appstore , after installing app deep link token should present?
you use uiapplications canopenurl method check if app exists.
see example:
-(void)openotherapp { uiapplication * myapplication = uiapplication.sharedapplication; nsstring * urlencodedstring = [@"somesortofaction" stringbyaddingpercentescapesusingencoding:nsutf8stringencoding]; nsstring * completepath = [@"otherappsurlscheme://" stringbyappendingstring:urlencodedstring]; nsurl * theurl = [nsurl urlwithstring:completepath]; if ([myapplication canopenurl:theurl]) { // app installed, launch [myapplication openurl:theurl]; } else { // app not installed open app store // replace appstore web url http:// itms-apps:// or itms:// nsurl * appstoreurl = [nsurl urlwithstring:@"itms-apps://appstoreurl"]; [myapplication openurl:appstoreurl]; } }
SURE WINNERS CASINO GAMES - SURE WIN 제왕카지노 제왕카지노 1xbet korean 1xbet korean 다파벳 다파벳 코인카지노 코인카지노 fun88 fun88 우리카지노 우리카지노 11bet 11bet bet365 bet365 카지노사이트 카지노사이트 1xbet korean 1xbet korean 312 ll▷버로 인운 내돌 로 토 알 토토 검증 넷마블 토토 검증 넷마블 토토 검증 넷마블 토토 검증 넷마블 토토 검증 넷마블 토토 검증 넷마
ReplyDelete