diff --git a/SCLAlertView-Objective-C.podspec b/SCLAlertView-Objective-C.podspec index 68eb638..4be9550 100644 --- a/SCLAlertView-Objective-C.podspec +++ b/SCLAlertView-Objective-C.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "SCLAlertView-Objective-C" - spec.version = "0.9.2" + spec.version = "0.9.3" spec.summary = "Beautiful animated Alert View. Written in Swift but ported to Objective-C" spec.homepage = "https://github.com/dogo/SCLAlertView" spec.screenshots = "https://raw.githubusercontent.com/dogo/SCLAlertView/master/ScreenShots/ScreenShot.png", "https://raw.githubusercontent.com/dogo/SCLAlertView/master/ScreenShots/ScreenShot2.png" diff --git a/SCLAlertView/SCLAlertView.m b/SCLAlertView/SCLAlertView.m index 78b6c48..56b84c0 100755 --- a/SCLAlertView/SCLAlertView.m +++ b/SCLAlertView/SCLAlertView.m @@ -203,6 +203,7 @@ - (void)setupViewWindowWidth:(CGFloat)windowWidth _circleView.layer.cornerRadius = _circleView.frame.size.height / 2; x = (kCircleHeight - _circleIconHeight) / 2; _circleIconImageView.frame = CGRectMake(x, x, _circleIconHeight, _circleIconHeight); + _circleIconImageView.contentMode = UIViewContentModeScaleAspectFill; [_circleViewBackground addSubview:_circleView]; [_circleView addSubview:_circleIconImageView];