inIOS method

Future<bool> inIOS()

Parses uri and opens Youtube's IOS app if possible, else platform handles it.

Implementation

Future<bool> inIOS() async {
  if (await launchWithYoutubeScheme()) {
    return true;
  }
  return launchWithHttpScheme();
}