iOS - NSCrossWebsiteTrackingUsageDescription(Allow Cross-Website Tracking) - Option is not working as expected in my scenario

We are using the iframe in HTML page, we are hosting this on the host1 server inside the iframe we are trying to load LinkedIn learning content. After loading the HTML page automatically it will load the LinkedIn learning URL in an iframe. it will open the popup for login authentication after providing login details it will direct to the main HTML page it will display the learning content

iOS Safari browser - To work this functionality we have to disable Prevent Cross-Site Tracking for the safari app in device settings

iOS App - We are handling this through WKWebView. To work this functionality we have added NSCrossWebsiteTrackingUsageDescription in info.plist as per this document, after launching the app it showed Allow Cross-Website Tracking in-app settings, after enabling this it is not calling "createWebViewWith configuration" WKUIDelegate method to launch the LinkedIn authentication login page.

Verified this in iPhone XR, which is running on iOS14.5.1

iOS - NSCrossWebsiteTrackingUsageDescription(Allow Cross-Website Tracking) - Option is not working as expected in my scenario
 
 
Q