rubymotion-community / sugarcube

Some sugar for your cocoa. RubyMotion helpers.
Other
422 stars 66 forks source link

Apple app rejection when using attributed string #82

Closed sajoku closed 11 years ago

sajoku commented 11 years ago

I'm using the attrd for a label. When uploading my App, Apple rejected it with the following message. 'Due to compatibility concerns, the NSBaselineOffsetAttributeName attribute is no longer supported in iOS 6.'

http://developer.apple.com/library/ios/#releasenotes/General/RN-iOSSDK-6_0/

After editing the nsattributedstring.rb (ie. removing NSBaselineOffsetAttributeName references) Apple accepted the app.

Should NSBaselineOffsetAttributeName be removed from sugarcube?

colinta commented 11 years ago

Thanks! Yes, it should be removed, along with some other ones I found that are only in OS X. Fixed in version 0.20.22.

sajoku commented 11 years ago

@colinta Thanks for the quick fix!