- (void)aLiPay:(id)result{ // 調(diào)起支付寶支付 NSString *partner = @"2088811678361814"; NSString...
1.IOS推送詳解 網(wǎng)址:http://www.cnblogs.com/qiqibo/archive/2012/08/25/2656856.html 2.蘋(píng)果所有常用證書(shū),a...
// 搜索功能實(shí)現(xiàn)的主要代碼 self.searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(0, 0, fra...
// 清除緩存的方法 - (void)deleteAll { DataBaseHandler *db = [DataBaseHandler shareInstance]; M...
// 定時(shí)推送的方法 - (void)addLocalNotification { // 創(chuàng)建一個(gè)本地推送 UILocalNotification *notification...
//獲取版本信息 - (void) getVersion { versionVC = [[kbCompareVersion alloc] init]; [versionVC ...
self.webDetailsView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame...
#define WS(weakSelf) __weak __typeof(&*self)weakSelf = self; 你復(fù)制我的代碼,然后再block里面直接打 WS(w...
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDicti...
3:從后臺(tái)恢復(fù)時(shí)調(diào)用的委托 - (void)applicationWillEnterForeground:(UIApplication *)application
UIBarButtonItem *reFresh = [[UIBarButtonItem alloc]initWithImage:[[UIImage imageNamed:@...
[self.window.layer addAnimation:animation forKey:@"animation"]; self.window.rootViewCon...
調(diào)用javascript代碼 UIWebView提供 - (NSString *)stringByEvaluatingJavaScriptFromString:(NSStri...
加載本地HTML頁(yè)面方式一 NSString *localHTMLPageName = @"myPage";NSString *path = [[NSBundle mainB...
存入本地 NSString *string = [NSString stringWithString @“NeiGou"]; NSUserDefaults *ud = [NS...
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:要輸入的數(shù)字。0代表取消,不顯示]; // ...