PDRCoreAppManager Class Reference
Inherits from | NSObject |
---|---|
Declared in | PDRCoreAppManager.h |
activeApp
当前激活的应用
@property (nonatomic, readonly) PDRCoreApp *activeApp
Discussion
当前激活的应用
Declared In
PDRCoreAppManager.h
– getAppByID:
查询应用
- (PDRCoreApp *__nullable)getAppByID:(NSString *)appid
Discussion
查询应用
Declared In
PDRCoreAppManager.h
– restart:
重启指定应用
- (void)restart:(PDRCoreApp *)coreApp
Discussion
重启指定应用
Declared In
PDRCoreAppManager.h
– endWithAppid:
关闭指定的应用
- (void)endWithAppid:(NSString *)appId
Discussion
关闭指定的应用
Declared In
PDRCoreAppManager.h
– openAppAtLocation:withIndexPath:withArgs:withDelegate:
创建app
- (PDRCoreApp *)openAppAtLocation:(NSString *)location withIndexPath:(NSString *)indexPath withArgs:(NSString *__nullable)args withDelegate:(id<PDRCoreAppWindowDelegate> __nullable)delegate
Parameters
location |
app目录 |
---|---|
args |
启动参数 |
Return Value
int
Declared In
PDRCoreAppManager.h