// // CCUIApplication.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import@interface UIApplication(cc) - (void)showStatusBar; - (void)hideStatusBar; - (void)showNetworkActivityInStatusBar; - (void)hideNetworkActivityInStatusBar; - (BOOL)getStatusBarNetworkActivityStatus; // 退出应用程序 - (void)terminate:(int)exitCode; // open another application // the anotherAppScheme argument is like "calculator:" which is defined in info.plist file // a demo : /* */ + (BOOL)openAnotherApp:(NSString *)anotherAppScheme; // open a url + (BOOL)openUrl:(NSString *)url; #if CC_ENABLE_PRIVATE_API - (UIView *)statusBar; // the statusBar view - (UIWindow *)statusBarWindow; // the window of the statusBar - (void)suspend; // suspend the application - (void)terminateWithSuccess; // terminate the application - (NSString *)userHomeDirectory; // the directory of the user's home - (NSString *)userLibraryDirectory; // user's library directory - (NSString *)userCachesDirectory; // user's caches directory - (void)setApplicationBadgeString:(NSString *)str; // set the eage string of the application icon - (BOOL)isLocked; // whether the application is locked - (NSString *)displayIdentifier; // the identifier of the app, eg, com.ccteam.ccfc #endif @end CFBundleURLSchemes ccfctest CFBundleURLName
可能有更新:
googlecode链接地址: github地址: