On Sep 30, 2009, at 3:41 AM, Gabriel Zachmann wrote:

This sort of works, EXCEPT that the string is always behind the image!
I tried to set the zPosition of my image sub-layer to either +1.0 or -1.0, to no avail.

I think layers are always drawn in front of the view's own content.

I also tried to make my view layer hosted and add a CATextLayer with the string property set to my message string (and font and fontSize).
But that never gets displayed.

That's the way I would do it. Something must be wrong with the way you set up the text layer; maybe its coordinates put it outside the view's bounds.

—Jens_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to