SJ Reddy
SJ Reddy

Reputation: 577

View resizing with images

I got 10 views on main UIView with Buttons and Images on top of each single view, I managed to populate the ImageViews with remote Images, but I want to fit that Image on that entire screen, What I mean is fill the 10 variable views with Images. Any pointers please. Thanks.

Upvotes: 0

Views: 63

Answers (1)

Paresh Navadiya
Paresh Navadiya

Reputation: 38239

Set for every 10 buttons:

[yourbutton setContentMode:UIViewContentModeScaleToFill]

Upvotes: 1

Related Questions