Fixed easily, once I found the documentation!
imageView.contentMode = .scaleAspectFit
More Related Contents:
- How does an underscore in front of a variable in a cocoa objective-c class work?
- How does the new automatic reference counting mechanism work?
- Having trouble adding objects to NSMutableArray in Objective C
- How do I add 1 day to an NSDate?
- File write with [NSBundle mainBundle] fails
- How do I parse JSON with Objective-C?
- What’s the best way to develop a sideswipe menu like the one in Facebook’s new iOS app?
- UIImage resizing not working properly
- setValue:forUndefinedKey: this class is not key value coding-compliant for the key [duplicate]
- @synthesize vs @dynamic, what are the differences?
- Managing multiple asynchronous NSURLConnection connections
- Phone number formatting on iOS
- Animating an image view to slide upwards
- Supporting Open In… menu item in my app for iOS Mail And Safari
- iOS – Merging two images of different size
- What does @synchronized() do as a singleton method in objective C?
- Is it possible to change a UIButtons background color?
- If “a == b” is false when comparing two NSString objects
- What are the default attributes for Objective-C properties?
- How can I have a UIBarButtonItem with both image and text?
- UIScrollview getting touch events
- Localizing the Cut|Copy|Paste menu on iOS
- Calling sleep(5); and updating text field not working
- RootViewController Switch Transition Animation
- Custom nav bar styling – iOS [duplicate]
- Is there a way to remove the separator line from a UITableView?
- Property ” not found on object of type ‘id’
- Why do all backgrounds disappear on UITableViewCell select?
- WaveForm on IOS
- Looping using NSRange