Reputation: 4728
Can anyone tell me about the way to resize my image view to show images in both portrait and landscape mode .i want to show them full screen .Please help
Thanks, Christy
Upvotes: 0
Views: 1780
Reputation: 3107
Use like
imageView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;
and also set leftmargin ,right margin from above code
Upvotes: 6
Reputation: 1175
hey change the frame of the image view in the didOrientationChange method..Simple as that...!!
Upvotes: 2