摘要:
在webView的.h文件中:@interface UIWebView (JavaScriptAlert) - (void)webView:(UIWebView *)sender runJavaScriptAlertPanelWithMessage:(NSString *)message initi... 阅读全文
摘要:
在ios4之后出现了一种单例的写法:首先创建一个继承于NSObject的类在.h文件中声明一个类方法+ (InstallStatisticsClass *)shareInstance;在.m中将这个方法+ (InstallStatisticsClass *)shareInstance{ stati... 阅读全文