How do you increase or decrease the size of a UIImageView in Obj-C? For example, I want a picture of duck to grow larger and larger. I can’t find anything on this topic.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are talking about pint-to-zoom, see Trevor’s answer. But if you just want to programmatically increase the display size of the view, just modify the
frameproperty of theUIImageView. If you increase the size of the view, the image will scale to fit.