iOS 13 email header opened via uiactivityviewcontroller color for Xcode 10 apps shows black

self.viewController = [[UIActivityViewController alloc] initWithActivityItems:nsurllink applicationActivities:nil];

UIPopoverPresentationController *shareController = [self.viewController popoverPresentationController];

self.viewController.completionWithItemsHandler

= ^(NSString *activityType, BOOL completed, NSArray *returnedItems, NSError *activityError) {

if(activityType == nil || completed) {

self.vewController = nil;

}

};

[self presentViewController:self.viewController animated:YES completion:nil];


I used above code to share. but while sharing email header page is fully black for xcode 10 apps. for xcode 11 for light mode , it is light color. But still the top level status/navigation bar background color is not respecting the color what i am passing as in ios12.