madjid / MMPickerView

An easy to use and customizable PickerView for your iOS app.
MIT License
237 stars 59 forks source link

fix screen Width #30

Closed miniLV closed 6 years ago

miniLV commented 6 years ago

I think your picker's width don't use 320, eg. ScreenW = [[UIScreen mainScreen] bounds].size.width, _pickerView = [[UIPickerView alloc] initWithFrame:CGRectMake(0.0, 44.0, ScreenW, 216.0)];

if I use iPhone6 or width more than 320,the pickerView will can't full my View