Skip to content

Commit

Permalink
Merge pull request #139 from Kjens93/master
Browse files Browse the repository at this point in the history
  • Loading branch information
mamaral authored Jul 9, 2016
2 parents 3a7b254 + 4f1b085 commit b21ed2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/OnboardingViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ - (void)generateView {
// create the background image view and set it to aspect fill so it isn't skewed
if (self.backgroundImage) {
backgroundImageView = [[UIImageView alloc] initWithFrame:self.view.bounds];
backgroundImageView.clipsToBounds = YES;
backgroundImageView.contentMode = UIViewContentModeScaleAspectFill;
[backgroundImageView setImage:self.backgroundImage];
[self.view addSubview:backgroundImageView];
Expand Down

0 comments on commit b21ed2d

Please sign in to comment.