Pixate / pixate-freestyle-ios

Pixate Freestyle for iOS
Apache License 2.0
848 stars 134 forks source link

UIImageView background-image size #121

Open nuthinking opened 10 years ago

nuthinking commented 10 years ago

I am currently setting only the image background property from the catalogue:

.iconTest
{
    background-image: url(asset://starIcon);
}

When the image is set in the UIImageView, it seems to be 50x50 size despite the original asset has different size. Is it possible not to have to set the size via css and use for instance self.contentMode = UIViewContentModeCenter; in Cocoa? Thanks!