skywinder / ActionSheetPicker-3.0

Quickly reproduce the dropdown UIPickerView / ActionSheet functionality on iOS.
http://skywinder.github.io/ActionSheetPicker-3.0
BSD 3-Clause "New" or "Revised" License
3.4k stars 740 forks source link

Fixing tint color issue in toolbar #366

Closed yapiskan closed 6 years ago

yapiskan commented 6 years ago

On iOS 11 toolbar buttons becomes invisible and doesn't respect to the setToolbarButtonsColor method. As explained here: https://stackoverflow.com/questions/46107640/ios11-uitoolbar-contentview we need to call [pickerToolbar layoutIfNeeded] method before returning picker toolbar.

skywinder commented 6 years ago

@yapiskan thank you very much! 👍