You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you rotate an image, the UIImageView bounds keeps growing. You can use the following logging code to see what i mean. Replace the layoutSubviews Code in KTPhotoViewer.m with the following code:
You should see on every rotation the bounds increasing (length for portrait, height for landscape).
The reason why this is a problem for me is that the app I am working on I wanted to put labels on top of the images with tags. The labels would be added as subviews to the main view. However, things like text gets shrunk everytime the bounds increase, which means on every rotation the labels become more and more unreadable.
I've tried looking around to try and solve the problem but right now its beyond me. Anyone have any ideas/suggestions for a fix?
The text was updated successfully, but these errors were encountered:
When you rotate an image, the UIImageView bounds keeps growing. You can use the following logging code to see what i mean. Replace the layoutSubviews Code in KTPhotoViewer.m with the following code:
You should see on every rotation the bounds increasing (length for portrait, height for landscape).
The reason why this is a problem for me is that the app I am working on I wanted to put labels on top of the images with tags. The labels would be added as subviews to the main view. However, things like text gets shrunk everytime the bounds increase, which means on every rotation the labels become more and more unreadable.
I've tried looking around to try and solve the problem but right now its beyond me. Anyone have any ideas/suggestions for a fix?
The text was updated successfully, but these errors were encountered: