Mayank Patel
Mayank Patel

Reputation: 3908

Autolayout proptional constrain not working properly iOS

I have one bug in which proportional constrain not working properly My image view size is 220 * 176 in 5S devices I want height and width proportionally in bigger devices

Check this image

Image size will be 1280 * 1024 which is coming from backend, i tried but in bigger devices, it is not working properly i am attaching demo project

Project code : http://s000.tinyupload.com/?file_id=93936193814910752298

In this project code there is one vc in which i have taken scrollview and inside scrollview i have taken tableview in that view it is working perfactly but i want to take table view only in view controller so please check it in table view controller only

Upvotes: 0

Views: 75

Answers (1)

Priya
Priya

Reputation: 749

As you have explained that you want to increase/decrease size of image according to device size.

I have tried to solve the issue. Refer http://s000.tinyupload.com/index.php?file_id=54760890874471716136

Hope this will help you.

Upvotes: 1

Related Questions