dzenbot/DZNPhotoPickerController

More than 4 photos services providers bug

Closed this issue ยท 1 comments

Hello, there is a bug in the "bugs and maintenance" branch, indeed this line ๐Ÿ‘

_segmentedControlTitles = NSArrayFromServices(self.navigationController.supportedServices);
NSAssert((_segmentedControlTitles.count < 4), @"DZNPhotoPickerController doesn't support more than 4 photo service providers");

is not correct, it should be (_segmentedControlTitles.count <= 4) to allow at least 4 segmented control.

Thanks! Fixed in 2f18ebd