mirror of
https://github.com/DmcSDK/cordova-plugin-mediaPicker
synced 2026-05-03 00:00:04 +08:00
ios preview
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
|
||||
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
__weak typeof(self) weakSelf = self;
|
||||
__weak PreviewViewController* weakSelf = self;
|
||||
static NSString *identify = @"cell";
|
||||
PreviewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:identify forIndexPath:indexPath];
|
||||
PHAsset *asset=_preArray[indexPath.item];//访问已释放的对象
|
||||
|
||||
Reference in New Issue
Block a user