Search code examples
objective-claunching-application

How to launch an application from hashtable in objective-C?


hey i'm able to create hash table in Objective-C which stores data in XML format... but how to launch the application which i've specified in the string tag in XML file...My application name is in the bundle format... For Example:

<key>HelloWordl<key>
<string>HelloWorld.bundle<string>

How to launch this HelloWorld.bundle??


Solution

  • You can use NSBundle to load the the bundle.

    You can do this by the following interfaces: + (NSBundle *)bundleWithPath:(NSString *)fullPath - (BOOL)load