01 2018 档案
摘要:#mark 滚动弹幕 列表中留有7条记录 大于7条时删除并指引表视图向上滑动 - (void)addRowActionWithContent:(NSString *)str { if (self.dataMutArray.count > 7) { [self.dataMutArray removeL
阅读全文
摘要:受iOS 9 上 http 限制 需要在info.plist文件添加必要string <key>LSApplicationQueriesSchemes</key> <array> <string>mqqopensdkapiv2</string> <string>mqqopensdkapiv3</st
阅读全文
摘要:if ([self class] == [HomeViewController class]||[self class] == [ComprehensivefinanceViewController class]||[self class] == [MyCenterViewController cl
阅读全文
摘要:#import <objc/runtime.h> @interface UINavigationController (Transition)<UIGestureRecognizerDelegate> - (void)transitionPanGestureDidLoad; @end @interf
阅读全文
摘要:捕捉异常类头文件.h文件 ///抓捕异常处理 void uncaughtExceptionHandler(NSException *exception); 捕捉异常实现文件.m文件 ///抓捕异常处理 void uncaughtExceptionHandler(NSException *except
阅读全文
摘要://在视图中运行操作中进行周期操作 - (void)applicationDidEnterBackground:(UIApplication *)application { [self beingBackgroundUpdateTask]; [self endBackgroundUpdateTask
阅读全文
摘要:方法一:发射信号量 OC —异步顺序加载 先调用A接口,再调用B接口,再调用C接口 dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); 网络A请求 中间写block块的网络请求 dispatch_semaphore_wait(
阅读全文
摘要://获取到当前所在的视图 - (UIViewController *)presentingVC:(UIApplication *)application{ UIWindow * window = application.keyWindow; if (window.windowLevel != UIW
阅读全文

浙公网安备 33010602011771号