diff --git a/Limelight/Base.lproj/iPad.storyboard b/Limelight/Base.lproj/iPad.storyboard
index 90476733..c41a25bb 100644
--- a/Limelight/Base.lproj/iPad.storyboard
+++ b/Limelight/Base.lproj/iPad.storyboard
@@ -63,37 +63,62 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -850,7 +875,7 @@ ICAgICAgICAgICAgICA
-
+
diff --git a/Limelight/ViewControllers/SettingsViewController.m b/Limelight/ViewControllers/SettingsViewController.m
index ff6a8376..92f39e74 100644
--- a/Limelight/ViewControllers/SettingsViewController.m
+++ b/Limelight/ViewControllers/SettingsViewController.m
@@ -708,11 +708,13 @@ BOOL isCustomResolution(CGSize res) {
- (void)findCapturedStackByTouchLocation:(CGPoint)point{
UIView *touchedView = [parentStack hitTest:point withEvent:nil];
- if([touchedView isKindOfClass:[UIStackView class]]){
- if(touchedView.accessibilityIdentifier != nil) capturedStack = (UIStackView *)touchedView;
+ while(touchedView){
+ if([touchedView isKindOfClass:[UIStackView class]] && touchedView.accessibilityIdentifier != nil){
+ capturedStack = (UIStackView *)touchedView;
+ break;
+ }
+ touchedView = touchedView.superview;
}
- else if([touchedView.superview isKindOfClass:[UIStackView class]] && touchedView.superview.accessibilityIdentifier != nil) capturedStack = (UIStackView *)touchedView.superview;
- else NSLog(@"hit test: not setting stack captured");
}
- (UIAlertController* )prepareAddToFavoriteActionSheet{
@@ -1069,6 +1071,8 @@ BOOL isCustomResolution(CGSize res) {
CGFloat fullScreenWidth = window.frame.size.width * screenScale;
CGFloat fullScreenHeight = window.frame.size.height * screenScale;
+ [self.resolutionSelector removeSegmentAtIndex:0 animated:NO]; // remove 360p
+ [self.resolutionSelector removeSegmentAtIndex:5 animated:NO]; // remove custom segment
self.resolutionDisplayView.layer.cornerRadius = 10;
self.resolutionDisplayView.clipsToBounds = YES;
UITapGestureRecognizer *resolutionDisplayViewTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(resolutionDisplayViewTapped:)];
diff --git a/Limelight/mul.lproj/iPad.xcstrings b/Limelight/mul.lproj/iPad.xcstrings
index 0bbddad4..73878afc 100644
--- a/Limelight/mul.lproj/iPad.xcstrings
+++ b/Limelight/mul.lproj/iPad.xcstrings
@@ -1,6 +1,18 @@
{
"sourceLanguage" : "en",
"strings" : {
+ "1ri-Kt-gSf.text" : {
+ "comment" : "Class = \"UILabel\"; text = \"Custom Resolution\"; ObjectID = \"1ri-Kt-gSf\";",
+ "extractionState" : "extracted_with_value",
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "new",
+ "value" : "Custom Resolution"
+ }
+ }
+ }
+ },
"2Bp-XZ-cCw.text" : {
"comment" : "Class = \"UILabel\"; text = \"Async Native Touch\"; ObjectID = \"2Bp-XZ-cCw\";",
"extractionState" : "extracted_with_value",