UIImageview not shwoing properly due to navigationBar
I am facing the issues with UIImageView in my application. Images are starched due to the navigation bar on top of the view. As soon as, I hi开发者_如何学Gode the navigation bar, the application shows poper sized images as provided in nid files.
Thank You.
Your imageView probably resizes itself when its superView's frame changes. If you want your image not being stretched, use another UIViewContentMode
like :
myImageView.contentMode = UIViewContentModeScaleAspectFit;
Or change your imageView resizingMask that it doesn't resizes itself.
精彩评论