__weaktypeof(*&self) wSelf = self;//
[previewC setDidFinishPreviewBlock:^(NSArray<XMNAssetModel *> *selectedAssets) {
__weaktypeof(*&self) self = wSelf;//
self.selectedAssets = [NSMutableArrayarrayWithArray:selectedAssets];
[self.bottomBarupdateBottomBarWithAssets:self.selectedAssets];
[self.collectionViewreloadData];
}];
网友评论