AGImagePickerController icon indicating copy to clipboard operation
AGImagePickerController copied to clipboard

Incorrect content size in form sheet

Open krypt-lynx opened this issue 11 years ago • 2 comments

Then I trying show picker in form sheet (UIModalPresentationCurrentContext in my case) images preview controller has incorrect content bounds

Part of the issue in AGImagePickerController+Helper.m

  • (CGPoint)itemTopLeftPoint

First 6 lines need to replace with CGRect bounds = [self.view bounds]; width = bounds.size.width;

But number of items in row still incorrect, because it's hardcoded. May be, I fix this issue later.

krypt-lynx avatar Mar 29 '13 08:03 krypt-lynx

I got the same problem. Can you post a patch?

styrken avatar Apr 04 '13 05:04 styrken

Sorry, I have not correct solution for this issue. I solved this like: http://pastebin.com/SFVPrbHk

krypt-lynx avatar Apr 04 '13 18:04 krypt-lynx