开发者

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

开发者 https://www.devze.com 2022-12-13 23:24 出处:网络
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 开发者_StackOverflow中文版string tag in XML file...M

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 开发者_StackOverflow中文版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??


You can use NSBundle to load the the bundle.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消