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...!!
精彩评论