iphone - UIImageView is resizing -


One issue with changing uiimageviews time to run my size I have a view over a dozen contained in a uiscrollview dozens allow uiimageviews images is set at design time Uiimageview visible all the same size mode way right set of run-time images visual aspect fill all uiimageviews

a different view But I only have 9 uiimageviews I selected these uiimageviews from the first scene The will display nine images. Three images below and three images are below design time uiimageview is the same size on the first scene. Uiimageview image is assigned to an image that is loaded into an array. All uiimageviews are of the same size and they also have set mode to fill the aspect. Image is assigned at run time using image 1.image = xxx. Where XXX is an image stored in an array.

However, on this second scene, the pictures are not all the same size, the height of the image dynamically changes the same image displayed in a different uiimageview on the scene will be different size. It is the height of uiimageview which varies. In some cases the image will fill uiimageview differently, this mode is like a dynamic change.

I tried to use different methods and there was no change.

Any thoughts on what's going on?

Whatever your image assets UIImageview object (the same size after setting is set at design time ) Try resetting the frame of ...


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -