Re: CALayer UIImage rendered on top of content instead of below

2012-12-15 Thread Markus Spoettl
On 12/15/12 12:36 AM, David Duncan wrote: I would expect to see a red rectangle, I get the image. Why? Would someone set me straight, I feel I'm missing something basic. Unfortunately I think you've removed too much context here. Since you say you are doing this in your own layers, it would be

Re: CALayer UIImage rendered on top of content instead of below

2012-12-14 Thread Kyle Sluder
On Dec 14, 2012, at 3:07 PM, Markus Spoettl wrote: > Hi, > > I have custom UIView with multiple layers, all custom drawn via delegate. In > one layer, I draw an image and on top of that image, I draw bezier paths and > rects. Or so I try. For some reason the image is rendered ABOVE what I dra

Re: CALayer UIImage rendered on top of content instead of below

2012-12-14 Thread David Duncan
On Dec 14, 2012, at 3:07 PM, Markus Spoettl wrote: > I have custom UIView with multiple layers, all custom drawn via delegate. In > one layer, I draw an image and on top of that image, I draw bezier paths and > rects. Or so I try. For some reason the image is rendered ABOVE what I draw > OVER

CALayer UIImage rendered on top of content instead of below

2012-12-14 Thread Markus Spoettl
Hi, I have custom UIView with multiple layers, all custom drawn via delegate. In one layer, I draw an image and on top of that image, I draw bezier paths and rects. Or so I try. For some reason the image is rendered ABOVE what I draw OVER it later. So basically I have this (this is the act