Re: UIScrollView insertSubview:atIndex: problem

2012-07-31 Thread Quincey Morris
On Jul 31, 2012, at 03:52 , Dave wrote: > Basically I have process that generates UIImage's and each of these images > needs to be presented in a Scroll View. However there can be a large number > of images generated and each image is pretty big too, so obviously, it can't > hold them all in R

Re: UIScrollView insertSubview:atIndex: problem

2012-07-31 Thread David Duncan
On Jul 31, 2012, at 3:52 AM, Dave wrote: > The above is basically what I'd like to do, hold a number of pages/images > "around" the current page and when the user Scrolls left or right replace the > appropriate pages/images with newly rendered versions. So it sounds like you want the views to

Re: UIScrollView insertSubview:atIndex: problem

2012-07-31 Thread Dave
On 30 Jul 2012, at 19:40, David Duncan wrote: You are going to have to define what you mean by start & end, as it is not clear in context. If you mean a visual location, then neither of these methods are going to do what you want. You would put something visually at the start/end of the

Re: UIScrollView insertSubview:atIndex: problem

2012-07-30 Thread David Duncan
On Jul 30, 2012, at 11:20 AM, Dave wrote: > I'm trying to add an a View at the start of a Scroll View but it always seem > to add to the end, not the start. The code I have is: > > [theScroll insertSubview:myImageView atIndex:0]; > > In order to have the image added at the start of the Scroll