Posts

Featured post

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 ur