> (2) CATextLayer in iOS 6 is drawing the text to a different baseline (lower). > To put it another way, there is now more space between the top of the text > and the top of the layer. This means that I must make my CATextLayers taller > in order to encompass the whole text height. Why the change? I'm guess that > it has to do with changes in the overall text drawing system needed to > accommodate styled text throughout.
What about the above part of my original question? This is a serious issue, because it basically means that the text appears in a different place under iOS 5 vs. iOS 6. You can easily see this by making a simple CATextLayer in a project whose base SDK is iOS 6 but whose deployment target is iOS 5. Run in the Simulator using an iOS 6 destination and then using an iOS 5 destination and you will see that the text has moved significantly. So using CATextLayer in a backward-compatible project is going to be a massive headache. m. -- matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com