CoderYLZhang

Results 16 issues of CoderYLZhang

- (void)changeSwipeViewIndex:(UISegmentedControl *)seg { [_swipeTableView scrollToItemAtIndex:seg.selectedSegmentIndex animated:YES]; // request data at current index [self getDataAtIndex:seg.selectedSegmentIndex]; } 而且,从item0 点击到item3时,界面会滑动到item1再到item2,最后才到item3,看segmentBar颜色也可以发现问题, 既然view已经重用,只滑动一次就可以了吧

![1](https://user-images.githubusercontent.com/13221319/34320452-a553735a-e835-11e7-93cb-61fbcbf69fbc.gif) 放个 gif, 细节是这样的,当主VC 除了PageController外,还有一些其他 cell 的时候, 比如, tableHeader 或者 cell 有大半个屏幕那么多,手指在 tableHeader 滑动的时候,滑到 tab (例子中的日K)时,会突然停住,有什么好的解决办法么?

``` AppDelegate *delegate = ((AppDelegate*)[UIApplication sharedApplication].delegate); delegate.rootTabbarController.selectedViewController setNavigationBarHidden:YES animated:YES] ```

``` -[YYKVStorage _dbGetItemWithKey:excludeInlineData:] line:380 sqlite query error (10): disk I/O error -[YYKVStorage _dbGetItemWithKey:excludeInlineData:] line:380 sqlite query error (10): disk I/O error -[YYKVStorage _dbGetItemWithKey:excludeInlineData:] line:380 sqlite query error (10): disk I/O...

freeDiskSpaceLimit 最大缓存大小吧? 这个缓存大小好像是YYCache框架缓存的总大小么? 当前用YY缓存两个文件夹,能分别控制这两个文件夹的大小么?

![image](https://user-images.githubusercontent.com/13221319/38237076-b01ccbc0-3758-11e8-878c-b8a9e3e86a73.png) http://gobang.light7.cn/ 和你提供的一个参考资料对比 APP黑棋 ![image](https://user-images.githubusercontent.com/13221319/38236978-6a52999e-3758-11e8-94a3-39d040c4e133.png) 关键步 _bestMove 的 分数不是最高的 388 ![image](https://user-images.githubusercontent.com/13221319/38237006-82709f6c-3758-11e8-91e9-ad189a64e296.png)

效果如下: ![1](https://cloud.githubusercontent.com/assets/13221319/22739851/6e495b1e-ee48-11e6-87ce-ae84b0f13bd7.gif)

https://www.zhihu.com/question/30198825?sort=created bezierPath这种方法,一旦用了,整个弹窗都消失了只剩背景阴影在 UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:self.bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight cornerRadii:CGSizeMake(10, 10)]; CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init]; maskLayer.frame = self.bounds; maskLayer.path = maskPath.CGPath; self.layer.mask = maskLayer;

Sheet 弹出框,点击以后拨打电话,挂掉电话,会自动回到之前的页面,但是键盘消失了

fix sheet 动画在 iOS 10上错误表现,