jeudi 4 décembre 2014

How to tell Xcode to automatically set image asset render mode in iOS 7

In Xcode 6 you can tell any image in an assets catalog to always Render As Default, Original Image or Template Image through the Attributes inspector. Like this


enter image description here


But this only works for iOS 8, not for iOS 7.


Is there a way to do the same but working on iOS 7 as well?


Note: I'm not looking for programmatic solutions (like those using things like image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];), but for a declarative one, either in images.xcassets panels or in storyboards and nibs.




Aucun commentaire:

Enregistrer un commentaire