Integrate SpeedOf.Me speed testing into your iOS app using SwiftUI and WKWebView. The API runs in a hidden WebView while your native UI displays the results.
This approach works with both SwiftUI and UIKit applications.
The HTML page that loads in the hidden WKWebView, runs the speed test, and sends results back to Swift via webkit.messageHandlers.
Complete SwiftUI implementation with WKWebView wrapper, message handlers, and native UI for displaying results.