//余数是行,除数是列 picFrame.origin.x = (i % 3) * (160 + 5); picFrame.origin.y = (i / 3) * (160 + 5); 拼图模快陌生的方法及技巧: imageView.tag = i; CGRect f = [frameValue CGRectValue]; CGRectContainsPoint(f, tapPoint) CGPoint currentPoint = [touch locationInView: self]; [_picImageViewArray exchangeObjectAtIndex: _blankIndex withObjectAtIndex: tapFrameIndex]; [_picFrameArray addObject: [NSValue valueWithCGRect: picFrame]];
拼图模快陌生的方法
最新推荐文章于 2025-11-14 14:47:48 发布
6万+

被折叠的 条评论
为什么被折叠?



