From 9c6bf5c16fc5037357959fbbf2efe9d0b76bc5be Mon Sep 17 00:00:00 2001 From: True Zhuanjia Date: Fri, 12 Jul 2024 00:09:37 +0800 Subject: [PATCH] correct method name --- Limelight/ViewControllers/MainFrameViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 12195b00..0464e4b7 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -891,7 +891,7 @@ static NSMutableSet* hostList; } } -- (void)handleOrientaionChange { +- (void)handleOrientationChange { double delayInSeconds = 0.7; // Convert the delay into a dispatch_time_t value dispatch_time_t delayTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC)); @@ -1205,7 +1205,7 @@ static NSMutableSet* hostList; #if !TARGET_OS_TV [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(handleOrientaionChange) // //force expand settings view to update resolution table, and all setting includes current fullscreen resolution will be updated. + selector:@selector(handleOrientationChange) // //force expand settings view to update resolution table, and all setting includes current fullscreen resolution will be updated. name:UIDeviceOrientationDidChangeNotification object:nil];