@interface SBApplication : NSObject
-(id)bundle;       // 返回BSCFBundle对象
-(id)displayName;  // 显示名称
-(id)bundleIdentifier;  // bundleId
-(id)dataContainerPath; // data目录 --- 例如@"/private/var/mobile/Containers/Data/Application/B34C3C98-9E81-4480-A4E2-930C731C20B5"
-(id)bundleContainerPath; //Bundle目录 --- 例如@"/private/var/mobile/Containers/Bundle/Application/A69FA78F-3E4C-44AF-8278-F886531F6E94"
-(id)_appInfo;     // 返回FBApplicationInfo对象
@end


-(id)bundle;方法可以获取更加详细的信息:

@interface BSCFBundle : NSObject {    
struct __CFBundle { } * _cfBundle;    
}    
// BSCFBundle (null)    
- (id)_pathsForResource:(id)arg1 ofType:(id)arg2 inDirectory:(id)arg3;    
- (id)bundleIdentifier;    
- (id)bundlePath;    
- (struct __CFBundle { }*)cfBundle;    
- (void)dealloc;    
- (id)description;    
- (id)executablePath;    
- (id)infoDictionary;      // 返回整个用信息的一个详细字典
- (id)initWithPath:(id)arg1;    
- (id)initWithURL:(id)arg1;    
- (id)localizedInfoDictionary;    
- (id)localizedStringForKey:(id)arg1 value:(id)arg2 table:(id)arg3;    
- (id)pathForResource:(id)arg1 ofType:(id)arg2;    
- (id)pathForResource:(id)arg1 ofType:(id)arg2 inDirectory:(id)arg3;    
@end


你可能感兴趣的文章

评论区

发表评论

必填

选填

选填

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。