url_launcher_ios
6.4.2, released 3 months ago by flutter.dev
iOS implementation of the url_launcher plugin for launching URLs on iOS devices.
WASM-ready
What it does
Provides the platform‑specific code that enables the url_launcher API to open web links, mailto links, and other URLs on iOS. Handles Safari view controller behavior and mode support.
AI-written summary of version 6.4.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to launch URLs on iOS as part of a Flutter app
- You rely on the url_launcher API and want automatic iOS support
Skip it when
- You are targeting only non‑iOS platforms
- You need a custom URL‑handling implementation beyond what url_launcher offers
Strengths
- Automatically included when using url_launcher
- Supports iOS 12+ and recent SDKs
- Handles Safari view controller callbacks
Weaknesses
- Only works on iOS, no functionality on other platforms
- Must be added to pubspec only if imported directly
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
import 'package:url_launcher/url_launcher.dart';
void _launchUrl() async {
final uri = Uri.parse('https://example.com');
if (await canLaunchUrl(uri)) {
await launchUrl(uri);
}
}Alternatives
Packages that do the same job and could replace url_launcher_ios.
Works with
Packages commonly used together with url_launcher_ios: ones it builds on, ones built on it, and its own family.
- url_launcher_androidSame familyAndroid implementation of the url_launcher plugin for launching URLs.
- url_launcher_windowsSame familyLaunch URLs, files and app schemes on Windows from Flutter apps.
- url_launcherBuilt on url_launcher_iosFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- smart_text_flutterBuilt on url_launcher_iosDetects and highlights links in text using platform native APIs.