White flash when popping using pop gesture on iOS 13

Viewed 133

There's a white flash when starting to pop a screen with a swipe gesture, and stopping the swipe gesture mid way to cancel the pop. It happens only when one of the view controllers has a transparent navigationBar background.

Is this a known iOS 13 bug?

First view controller:

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.standardAppearance = [UINavigationBarAppearance new];
    [self.navigationItem.standardAppearance configureWithTransparentBackground];
}

@end

Second view controller:

@implementation SecondViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.standardAppearance = [UINavigationBarAppearance new];
    [self.navigationItem.standardAppearance configureWithOpaqueBackground];
    [self.navigationItem.standardAppearance setBackgroundColor:UIColor.redColor];
}

@end

Example

0 Answers
Related