B-Sides / ELCImagePickerController

A clone of the UIImagePickerController using the Assets Library Framework allowing for multiple asset selection
http://www.icodeblog.com
1.65k stars 469 forks source link

Adaptive layout for iPhone 6/6+ #113

Closed carloe closed 7 years ago

carloe commented 9 years ago

This makes the AssetTablePicker layout dynamic by calculating the number of columns and thumbnail widths based on the available screen size rather than hardcoded values.

I also deleted the xib files since they did not appear to be used at all.

Arkolos commented 8 years ago

Thanks a lot, worked perfectly for me.

I wouldn't have guess but the deleting of the xib files is important, otherwise the size of the screen is not taken in account at the first appearance of the view and you always have 4 columns of thumbnails displayed.