onInitialLoadDidRedirect method

  1. @SupportedPlatforms.new(platforms: [IOSPlatform(apiName: 'SFSafariViewControllerDelegate.safariViewController', apiUrl: 'https://developer.apple.com/documentation/safariservices/sfsafariviewcontrollerdelegate/2923545-safariviewcontroller')])
void onInitialLoadDidRedirect(
  1. WebUri? url
)

Event fired when the initial URL load is complete.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms

Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    IOSPlatform(
      apiName: 'SFSafariViewControllerDelegate.safariViewController',
      apiUrl:
          'https://developer.apple.com/documentation/safariservices/sfsafariviewcontrollerdelegate/2923545-safariviewcontroller',
    ),
  ],
)
void onInitialLoadDidRedirect(WebUri? url) {}