The best way to resize images, especially if you are building a cross platform solution, is to put the ImageView in a panel and move the ImageView based on the bitmap size. It is very simple and it will behave exactly like you want it.
The contentMode property of UIView allows you to control how to layout a view when the view’s bounds change. The system will not, by default, redraw a view each time the bounds change. That would be wasteful. Instead, depending on the content mode, it can scale, stretch or pin the contents to a...
BTW, B4i does not control a value in ImageView.ContentMode. So, you can simply assign ImageView.ContentMode = 5 (UIViewContentModeTop) and to ignore a warning #22.
BTW, B4i does not control a value in ImageView.ContentMode. So, you can simply assign ImageView.ContentMode = 5 (UIViewContentModeTop) and to ignore a warning #22.