- July 9, 2025
- Mins Read
SVWebViewController is a simple inline browser for your iOS 7 app.
SVWebViewController features:
setNetworkActivityIndicatorVisible
I’m not a big fan of CocoaPods, so tend to not keep it updated. If you really want to use SVWebViewController with CocoaPods, I suggest you use pod 'SVWebViewController', :head
to pull from the master
branch directly. I’m usually careful about what I push there and is the version I use myself in all my projects.
SVWebViewController/SVWebViewController
folder into your project.#import "SVWebViewController.h"
(see sample Xcode project in /Demo
)
Just like any UIViewController, SVWebViewController can be pushed into a UINavigationController stack:
SVWebViewController *webViewController = [[SVWebViewController alloc] initWithAddress:@”http://google.com”];
[self.navigationController pushViewController:webViewController animated:YES];
It can also be presented modally using SVModalWebViewController
:
SVModalWebViewController *webViewController = [[SVModalWebViewController alloc] initWithAddress:@”http://google.com”];
[self presentViewController:webViewController animated:YES completion:NULL];
Starting in iOS 6 Apple uses UIActivity
to let you show additional sharing methods in share sheets. SVWebViewController
comes with “Open in Safari” and “Open in Chrome” activities. You can easily add your own activity by subclassing SVWebViewControllerActivity
which takes care of a few things automatically for you. Have a look at the Safari and Chrome activities for implementation examples. Feel free to send it as a pull request once you’re done!
A lightweight sparkline component, supporting Swift, SwiftUI, macCatalyst and Objective-C. What is a sparkline? A sparkline is a very ...
LightChart is a lightweight SwiftUI package with line charts implementation. You can use it when you need only a chart that will perfectly ...
Swift package for displaying charts effortlessly. V2 Beta is here 🎉🎉🎉 V2 focuses on providing a strong and easy to ...
Lightweight and easy to use SwiftUI chart library for all Apple platforms