nek023 / QBImagePicker

A clone of UIImagePickerController with multiple selection support.
MIT License
1.78k stars 553 forks source link

Done and Cancel button hides #208

Open IrfanMarwat opened 6 years ago

IrfanMarwat commented 6 years ago

Some time done and cancel button is not visible. I am able to press on those areas, but buttons are not visible on iOS 11.

bkischel commented 6 years ago

I faced the same issue but I think they are not hidden - their tintColor is just white. You can solve this by moving this definition in QBImagePickerController.m

@property (nonatomic, strong) UINavigationController *albumsNavigationController;

to the QBImagePickerController.h file so that it is accessible by an object of QBImagePickerController. Now, you can change the tint color in your code:

self.imagePickerController = [QBImagePickerController new];
//...
self.imagePickerController.albumsNavigationController.navigationBar.tintColor = UIColor.blackColor;