FAQ changes

This commit is contained in:
Adam Tunnic committed 2022-02-07 00:57:50 -05:00
1 parent b9d2d2042b
commit bec85f6962
1 file changed
+7 -1
+7 -1
View File
@@ -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 {