From 5647fe3281121222fb2e44cb0c83e6b58fa1f513 Mon Sep 17 00:00:00 2001 From: Roberto Arreaza Date: Thu, 23 Apr 2015 17:33:49 +0200 Subject: [PATCH] made BackgroundImageView clipToBounds for cases where the into view is not in FullScreen, so that the background image will then not display outside the Frame set for the intro view --- MYBlurIntroductionView/MYBlurIntroductionView.m | 1 + 1 file changed, 1 insertion(+) diff --git a/MYBlurIntroductionView/MYBlurIntroductionView.m b/MYBlurIntroductionView/MYBlurIntroductionView.m index 1776084..a3de616 100755 --- a/MYBlurIntroductionView/MYBlurIntroductionView.m +++ b/MYBlurIntroductionView/MYBlurIntroductionView.m @@ -35,6 +35,7 @@ -(void)initializeViewComponents{ self.BackgroundImageView = [[UIImageView alloc] initWithFrame:self.frame]; self.BackgroundImageView.contentMode = UIViewContentModeScaleAspectFill; self.BackgroundImageView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleHeight; + self.BackgroundImageView.clipsToBounds = YES; [self addSubview:self.BackgroundImageView]; //Master Scroll View