From c05949c43ba8f687ac1f4f906473ebcccd515e85 Mon Sep 17 00:00:00 2001 From: Diego Waxemberg Date: Thu, 27 Nov 2014 16:23:06 -0500 Subject: [PATCH] ensured spinner does not appear on top of label --- Limelight/ViewControllers/StreamFrameViewController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Limelight/ViewControllers/StreamFrameViewController.m b/Limelight/ViewControllers/StreamFrameViewController.m index 2de25ec..040958b 100644 --- a/Limelight/ViewControllers/StreamFrameViewController.m +++ b/Limelight/ViewControllers/StreamFrameViewController.m @@ -30,7 +30,7 @@ [self.stageLabel setText:@"Starting App"]; [self.stageLabel sizeToFit]; self.stageLabel.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 2); - + self.spinner.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 2 - self.stageLabel.frame.size.height - self.spinner.frame.size.height); [UIApplication sharedApplication].idleTimerDisabled = YES; _controllerSupport = [[ControllerSupport alloc] init]; @@ -62,7 +62,6 @@ [self.spinner stopAnimating]; [self.stageLabel setText:@"Waiting for first frame..."]; [self.stageLabel sizeToFit]; - self.stageLabel.center = CGPointMake(self.view.frame.size.width / 2, self.stageLabel.center.y); }); }