On Mon, 09 Jan 2012 17:12:17 -0800 (PST), R <[email protected]> said: > This is easy in OSX and bindings. But how do I maintain the aspect > ratio of an UIImage place in a UIButton... via [myButton setImage...] > or [myButton setBackgroundImage...]. >
Use Core Graphics to draw your image to the desired size and aspect ratio *before* you put it in the button. m. -- matt neuburg, phd = [email protected], <http://www.apeth.net/matt/> A fool + a tool + an autorelease pool = cool! Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook _______________________________________________ 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]
