Posts

Post not yet marked as solved
8 Replies
4.0k Views
HelloI have UIImageView and I am resizing it dynamically according to the Image it contains.Since the ContentMode is AspectFit, I want to adapt the parent UIImageView, so that the frame is the same as the frame of the Image itself.This is done of course programatically, the frame is calculated correctly (for test I have put also some dummy values),the frame is assigned to the UIImageView, but on the UI it stays the same. newViewFrame = <Calculated frame>... self.ImageView.frame = self.newViewFrame!This is working OK with iOS 12, but with iOS 13 beta is not working.What is changed here? What else I need to do?ThanksAnte
Posted
by antecepic.
Last updated
.