Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

相册页面底部工具栏消失 #238

Closed
midorigb opened this issue May 4, 2018 · 3 comments
Closed

相册页面底部工具栏消失 #238

midorigb opened this issue May 4, 2018 · 3 comments

Comments

@midorigb
Copy link

midorigb commented May 4, 2018

关于 Issue

  1. 当前所使用的cocoapods版本: 2.6.6
  2. 开发环境: Xcode 9.3(9E145), SDK iOS 11.3
  3. 问题描述: 从2.5.2更新到2.6.6版本后,调用[ac showPhotoLibrary] 底部工具栏没有了,单张的预览点进去是有的。

代码如下:

__weak typeof(self) weakSelf = self;

ZLPhotoActionSheet *actionSheet = [[ZLPhotoActionSheet alloc] init];

actionSheet.sender = self;
[actionSheet setSelectImageBlock:^(NSArray<UIImage *> * _Nonnull images, NSArray<PHAsset *> * _Nonnull assets, BOOL isOriginal) {
    NSMutableArray*array = [NSMutableArray arrayWithArray:images];
    if (weakSelf.dataSource == nil) {
        weakSelf.dataSource = array;
    } else{
        weakSelf.dataSource = [weakSelf.dataSource arrayByAddingObjectsFromArray:array].copy;
    }
    [weakSelf.colletionView reloadData];
}];
[actionSheet showPhotoLibrary];

截图如下:
simulator screen shot - iphone x - 2018-05-04 at 09 50 21

simulator screen shot - iphone x - 2018-05-04 at 10 06 27

@longitachi
Copy link
Owner

是什么手机?还是iPhone X的模拟器?

@midorigb
Copy link
Author

midorigb commented May 4, 2018

iPhone X的模拟器

@longitachi
Copy link
Owner

#244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants