promptIosInstall static method
Opens a bottom sheet walking the user through "Share → Add to Home Screen".
Does nothing unless canPromptIosInstall, which force overrides so the sheet can also
sit behind a help button. Every string falls back to the localized default.
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;
await UNavigator.bottomSheet<void>(
_IosInstallSheet(
title: title ?? U.s.openThisPageInSafariThenAddItToYourHomeScreen,
safari: force || isIosSafari,
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,
);
}