Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

UIImageView property #28

Closed
qclmnt opened this issue Jul 25, 2016 · 4 comments
Closed

UIImageView property #28

qclmnt opened this issue Jul 25, 2016 · 4 comments
Labels

Comments

@qclmnt
Copy link

qclmnt commented Jul 25, 2016

Hello guys,

If I want to use UIImageView properties with UIImage coming from iconic font, for example how can I set UIImageView mode to Aspect Fit and get the size of the font adjust with the size of the imageView ?

Thanks
best regards

@dzenbot
Copy link

dzenbot commented Jul 26, 2016

If I get this right, you're interested in getting an icon's image with dynamic sizing based on the size that fits your image view?

@qclmnt
Copy link
Author

qclmnt commented Jul 26, 2016

Exactly

@dzenbot
Copy link

dzenbot commented Jul 26, 2016

That would be very interesting, but it is currently not supported.
The first thing that comes to mind, is to write an UIImageView extension with an icon property, and generate an UIImage as soon as the frame's sizing changes internally to match it's fitting size. This would allow to have a high quality bitmap when needed.

I wouldn't make this part of the library tho.

@qclmnt
Copy link
Author

qclmnt commented Jul 28, 2016

Alright, thank you a lot.

@qclmnt qclmnt closed this as completed Jul 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants