Optimized the memory used by picture chooser in iOS
Add a new option to disable image resizing: use 0 as maxPixelDimension