From bec85f696233f7cc0a241dbde0863bb4b920387b Mon Sep 17 00:00:00 2001 From: Adam Tunnic Date: Mon, 7 Feb 2022 00:57:50 -0500 Subject: [PATCH] FAQ changes --- Natives/LauncherFAQViewController.m | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Natives/LauncherFAQViewController.m b/Natives/LauncherFAQViewController.m index b61a6a9a..d47f1cbc 100644 --- a/Natives/LauncherFAQViewController.m +++ b/Natives/LauncherFAQViewController.m @@ -25,7 +25,6 @@ CGFloat faqcurrY = 4.0; UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:self.view.frame]; [self.view addSubview:scrollView]; scrollView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth; - scrollView.contentSize = CGSizeMake(scrollView.frame.size.width, scrollView.frame.size.height + 200); // Update color mode once if(@available(iOS 13.0, *)) { @@ -37,15 +36,22 @@ CGFloat faqcurrY = 4.0; faqcurrY = 4.0; + [scrollView addSubview:[self faqContent:true text:@"Notice about older devices" width:width]]; + [scrollView addSubview:[self faqContent:false text:@"If you're using a device with less than 2GB of memory, you may not be able to play PojavLauncher with a good experience, if at all." width:width]]; [scrollView addSubview:[self faqContent:true text:@"Modded versions before 1.16" width:width]]; [scrollView addSubview:[self faqContent:false text:@"In order to use these versions, you need to install openjdk-8-jre from Doregon's Repo and change Java home in Preferences to 'Java 8'." width:width]]; [scrollView addSubview:[self faqContent:true text:@"Vanilla versions after 21w10b" width:width]]; [scrollView addSubview:[self faqContent:false text:@"In order to use these versions, you need to install openjdk-16-jre and change the Renderer in Preferences to tinygl4angle." width:width]]; [scrollView addSubview:[self faqContent:true text:@"Vanilla versions after 21w37a" width:width]]; [scrollView addSubview:[self faqContent:false text:@"In order to use these versions, you need to install openjdk-17-jre and change the Renderer in Preferences to tinygl4angle. If you are using unc0ver/checkra1n, switch to or wait for a Procursus jailbreak." width:width]]; + [scrollView addSubview:[self faqContent:true text:@"Sodium versions for 1.17 and higher" width:width]]; + [scrollView addSubview:[self faqContent:false text:@"Sodium is currently broken with 1.17 and higher, due to the workaround required to get these versions to launch." width:width]]; [scrollView addSubview:[self faqContent:true text:@"Jetsam crashing" width:width]]; [scrollView addSubview:[self faqContent:false text:@"Even though PojavLauncher only allocates 1/4 of the system's total memory, jetsam can still kill the game. A solution is described on the PojavLauncher website (iOS Wiki > Going further > overb0arding)" width:width]]; + [scrollView addSubview:[self faqContent:true text:@"Arc custom capes" width:width]]; + [scrollView addSubview:[self faqContent:false text:@"To get started with Arc capes, install OptiFine ot the Capes Mod, visit dashboard.arccapes.com and follow the steps to link your Minecraft account." width:width]]; + scrollView.contentSize = CGSizeMake(scrollView.frame.size.width, faqcurrY); } -(UILabel *)faqContent:(bool)isHeading text:(NSString *)text width:(int)width {