ios - How to implement scale-9 (9-slice) for custom background art created for UIButton -
What do I need to do in order to use a similar background image for UIButton? (Usually known as 9-piece scaling or scale-9)
check out :
<<>> - Left capavid with (UIImage *) stretch: (NSInteger) leftCapWidth topCapHyight: (NSInteger) topCapHyight
In the UIImage class.
If I understand what you are searching for correctly, it allows you to use a PNG to define a button, and it can be used in any size vertical or horizontal form Will spread from.
Comments
Post a Comment