修改了送礼物相亲房无特效 卡顿的问题

This commit is contained in:
fengshuo
2022-10-25 18:49:37 +08:00
parent 9c0474d559
commit 79cf03a5f8
3 changed files with 2 additions and 1 deletions

View File

@@ -256,6 +256,7 @@
- (UICollectionView *)collectionView{ - (UICollectionView *)collectionView{
if (!_collectionView) { if (!_collectionView) {
UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init]; UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init];
layout.scrollDirection = UICollectionViewScrollDirectionHorizontal;
layout.itemSize = CGSizeMake(38, 43); layout.itemSize = CGSizeMake(38, 43);
layout.minimumInteritemSpacing = 4; layout.minimumInteritemSpacing = 4;
layout.sectionInset = UIEdgeInsetsMake(0, 0, 0,0); layout.sectionInset = UIEdgeInsetsMake(0, 0, 0,0);

View File

@@ -191,6 +191,7 @@
} }
[data1 removeObjectForKey:@"luckyBagGifts"]; [data1 removeObjectForKey:@"luckyBagGifts"];
[data1 removeObjectForKey:@"targetUsers"]; [data1 removeObjectForKey:@"targetUsers"];
[data1 removeObjectForKey:@"gift"];
attachment.data = data1; attachment.data = data1;
[self sendCustomMessage:attachment]; [self sendCustomMessage:attachment];
} }

View File

@@ -323,7 +323,6 @@
} }
microQueueChanged = NO; microQueueChanged = NO;
} }
[self initGiftValue];
} }
break; break;