promptIosInstall static method
Implementation
static Future<void> promptIosInstall({
bool force = false,
String? title,
String? step1,
String? step2,
String? step3,
String? safariHint,
String? doneLabel,
}) async {
if (!force && !canPromptIosInstall) return;
final bool safari = force || isIosSafari;
await UNavigator.bottomSheet<void>(
_IosInstallSheet(
title: title ?? U.s.openThisPageInSafariThenAddItToYourHomeScreen,
safari: safari,
step1: step1 ?? U.s.tapTheShareButtonInSafarisToolbar,
step2: step2 ?? U.s.scrollDownAndTapAddToHomeScreen,
step3: step3 ?? U.s.tapAddInTheTopRightCorner,
safariHint: safariHint ?? U.s.openThisPageInSafariThenAddItToYourHomeScreen,
doneLabel: doneLabel ?? U.s.gotIt,
),
showDragHandle: true,
);
}