开发者

Resizing image view in Portrait mode and landscape mode

Can anyone tell me about the way to resize 开发者_如何学Pythonmy image view to show images in both portrait and landscape mode .i want to show them full screen .Please help

Thanks, Christy


Use like

imageView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;

and also set leftmargin ,right margin from above code


hey change the frame of the image view in the didOrientationChange method..Simple as that...!!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜