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
Post a Comment