Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

iOS 13 Crash and just find issues.Please repair it as soon as possible. #240

Closed
jcg9487 opened this issue Sep 21, 2019 · 1 comment
Closed

Comments

@jcg9487
Copy link

jcg9487 commented Sep 21, 2019

pageViewController setViewControllers need add to main queue.

__weak typeof(self) weakSelf = self;
dispatch_async(dispatch_get_main_queue(), ^{
[weakSelf.pageViewController setViewControllers:@[ viewController ]
direction:animateDirection
animated:animate
completion:animateCompletionBlock];
});

@emelyanovkirill
Copy link

Thanks, it helped me)
I had a fatal error for iOS 13:
*** Assertion failure in UITraitCollection * _Nonnull _UIGetCurrentFallbackTraitCollection(void)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3899.13.13/_UIFallbackEnvironment.m:91
error: Execution was interrupted, reason: breakpoint 1.1.
The process has been returned to the state before expression evaluation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants