Hi Guys
Got a little question that someone may have a simple answer for, i'm using tableview to open a detail view with a scrollview containing an image that could be larger than the page, here is the line that i added
using this method the view wont scroll but if i manually specify the height it will scroll fine
my problem is that not all of my images will be 550 heigh some might be over 1000 does anyone know why this isn't working.
Thanks
Brad
Got a little question that someone may have a simple answer for, i'm using tableview to open a detail view with a scrollview containing an image that could be larger than the page, here is the line that i added
Code:
[scrollView setContentSize:CGSizeMake(320, _image.bounds.size.height)];
using this method the view wont scroll but if i manually specify the height it will scroll fine
Code:
[scrollView setContentSize:CGSizeMake(320, 550)];
my problem is that not all of my images will be 550 heigh some might be over 1000 does anyone know why this isn't working.
Thanks
Brad
Last edited by a moderator: