Can you try setting clip to bounds
[_photoview setClipsToBounds:YES];
Or directly in your Storyboard / Xib if you can :
More Related Contents:
- Difference between UIViewContentModeScaleAspectFit and UIViewContentModeScaleToFill?
- UIImageView – How to get the file name of the image assigned?
- How to compare UIColors?
- Fade/dissolve when changing UIImageView’s image
- How to load GIF image in Swift?
- Picking two different images in the same view controller using imagePickerController in Swift
- How to assign an action for UIImageView object in Swift
- Uploading image with AFNetworking 2.0
- UIImage from CALayer in iOS
- How can I use IBOutletCollection to connect multiple UIImageViews to the same outlet?
- How can I detect the touch event of an UIImageView?
- Loading an image into UIImage asynchronously
- With Auto Layout, how do I make a UIImageView’s size dynamic depending on the image?
- Creating a shadow for a UIImageView that has rounded corners?
- Passing Image to another View Controller (Swift)
- Center content of UIScrollView when smaller
- UIGestureRecognizer on UIImageView
- How to set the opacity/alpha of a UIImage?
- How to animate the change of image in an UIImageView?
- iOS – UIImageView – how to handle UIImage image orientation
- “Creating an image format with an unknown type is an error” with UIImagePickerController
- Storing images locally on an iOS device
- add UIImage in CALayer
- How to know that if the only visible area of a .png is touched in Xcode
- How to asynchronously load an image in an UIImageView?
- How do you create a UIImage View Programmatically – Swift
- IOS: add imageview in a scrollview to have zoom
- Change UIImageView size to match image with AutoLayout
- iOS: Update launch screen dynamically
- Replace a particular color inside an image with another color