Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixup: Fix crash on iOS 16 and above #607

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

talka123456
Copy link
Contributor

fix the bug for issue #606

@NSExceptional NSExceptional merged commit 4375f1a into FLEXTool:master Jul 6, 2022
@NSExceptional
Copy link
Collaborator

Thank you!

matrush pushed a commit to matrush/FLEX that referenced this pull request Aug 30, 2022
@Saafo
Copy link
Contributor

Saafo commented Sep 8, 2022

@NSExceptional iOS 16 official version will be released in a week, will you release a new version this week to prevent from this serious bug?

@NSExceptional
Copy link
Collaborator

Yes, sorry! I'll let you know when

@kingnight
Copy link

please release a new version for this problem,thanks

@Saafo
Copy link
Contributor

Saafo commented Oct 9, 2022

9 Oct now....🫣, hope you can release a new version soon, FLEX is almost impossible to use on iOS 16...

@Neil20170220
Copy link

please release a new version for this problem,thanks

@didik-maulana
Copy link

Hi, any update on this issue? 😃
When will a new version be released to solve this crash?

@didik-gravel
Copy link

Hi, any update?
please release a new version for this fixed-up crash issue, thanks

@Saafo
Copy link
Contributor

Saafo commented Oct 21, 2022

5.22.10 had been released.

@didik-gravel
Copy link

It's worked now 🎉
thank you @Saafo and team!

fabcz referenced this pull request in meitu/MTHawkeye Nov 1, 2022
@fabcz
Copy link

fabcz commented Nov 1, 2022

@talka123456 @NSExceptional
if (!@available(iOS 16.0, *)) will waring that @available does not guard availability here; use if (@available) instead, because @available may only be used as condition of an 'if', 'guard' or 'while' statement, so you can fix like that

- (UIWindow *)statusWindow {
    if (@available(iOS 16.0, *)) {
        return nil;
    } else {
        NSString *statusBarString = [NSString stringWithFormat:@"%@arWindow", @"_statusB"];
        return [UIApplication.sharedApplication valueForKey:statusBarString];
    }
}

ios-available-does-not-guard-availability-here-use-if-available-instead

timonus pushed a commit to timonus/FLEX that referenced this pull request May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants