03 2017 档案
摘要:解决方法如下: if (scrollView.contentOffset.y >= 0 && scrollView.contentOffset.y <= pushNewsTableViewHeaderViewHeight) { scrollView.contentInset = UIEdgeInse
阅读全文
摘要:当我们在ViewController中有scrollView的时候, 可能会遇到右滑无法响应返回手势, 有以下解决办法: 自定义scrollView, 实现该scrollView的以下方法即可: @implementation GOfflineContentScrollView -(BOOL)ges
阅读全文
摘要:[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(endBackground) name:UIApplicationWillEnterForegroundNotification object:nil]
阅读全文

浙公网安备 33010602011771号