objective c - Automatically open an app within iOS -


i'm developing app ios , i've got list of pdf files in app want able open (and show).

now know can uidocumentinteractioncontroller, shows apps able open specific file, i'm looking solution can open app (e.g. adobe reader) without first having open uidocumentinteractioncontroller, tapping app want , opening it.

is possible? , if so: how?

thanks in advance!

dckwlff

you can have @ url schemes. app want open needs support it. http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html

you can open app in app this:

[[uiapplication sharedapplication] openurl:[nsurl urlwithstring:@"myapp://"]]; 

edit: can find schemes here: http://schemes.zwapp.com


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -