iphone-common-codes-ccteam源代码 CCUIApplication.h
2012-01-06 09:49
323 查看
// // CCUIApplication.h // CCFC // // Created by xichen on 11-12-17. // Copyright 2011年 ccteam. All rights reserved. // #import <Foundation/Foundation.h> @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 : /* <array> <dict> <key>CFBundleURLSchemes</key> <array> <string>ccfctest</string> </array> <key>CFBundleURLName</key> <string></string> </dict> </array> */ + (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
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCUIApplication.h
github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCUIApplication.h
相关文章推荐
- iphone-common-codes-ccteam源代码 CCUIApplication.m
- iphone-common-codes-ccteam源代码 CCUIProgressHUD.m
- iphone-common-codes-ccteam源代码 CCUILocalNotification.h
- iphone-common-codes-ccteam源代码 CCUILocalNotification.m
- iphone-common-codes-ccteam源代码 CCUIHardware.m
- iphone-common-codes-ccteam源代码 CCUIActionSheet.m
- iphone-common-codes-ccteam源代码 CCUIActivityIndicatorView.h
- iphone-common-codes-ccteam源代码 CCUIActivityIndicatorView.m
- iphone-common-codes-ccteam源代码 CCUIHardware.h
- iphone-common-codes-ccteam源代码 CCUIWindow.h
- iphone-common-codes-ccteam源代码 CCUIPasteboard.h
- iphone-common-codes-ccteam源代码 CCUIPasteboard.m
- iphone-common-codes-ccteam源代码 CCUIActionSheet.h
- iphone-common-codes-ccteam源代码 CCUIProgressHUD.h
- iphone-common-codes-ccteam源代码 CCCamera.h
- iphone-common-codes-ccteam源代码 CCDylib.m
- iphone-common-codes-ccteam源代码 CCEmoji.h
- iphone-common-codes-ccteam源代码 CCHttp.h
- iphone-common-codes-ccteam源代码 CCMail.m
- iphone-common-codes-ccteam源代码 CCNSNotificationCenter.h