Skip to content

Commit 7d4b827

Browse files
fix: remove things
1 parent 149dbe2 commit 7d4b827

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CountlyWebViewManager.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,12 @@ - (void)applyTopMargin{
7575
CGFloat screenScale = [UIScreen mainScreen].scale;
7676
UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
7777
if(!UIInterfaceOrientationIsLandscape(orientation) && !self.topMarginApplied){
78-
CLY_LOG_E(@"HERE NOW 1");
7978
self.topMarginApplied = YES;
8079
CGRect newFrame = self.backgroundView.frame;
8180
newFrame.origin.y += safeArea.top;
8281
self.backgroundView.frame = newFrame;
8382
self.topMargin = safeArea.top;
84-
//backgroundFrame.size.height -= safeArea.top;
8583
} else if(UIInterfaceOrientationIsLandscape(orientation) && self.topMarginApplied){
86-
CLY_LOG_E(@"HERE NOW 2");
8784
self.topMarginApplied = NO;
8885
CGRect newFrame = self.backgroundView.frame;
8986
newFrame.origin.y -= self.topMargin;

0 commit comments

Comments
 (0)