{"id":15025347,"url":"https://github.com/transitapp/svwebviewcontroller","last_synced_at":"2025-05-15T07:07:35.039Z","repository":{"id":56921996,"uuid":"1405796","full_name":"TransitApp/SVWebViewController","owner":"TransitApp","description":"A drop-in inline browser for your iOS app.","archived":false,"fork":false,"pushed_at":"2020-04-30T03:24:05.000Z","size":238,"stargazers_count":2571,"open_issues_count":77,"forks_count":511,"subscribers_count":117,"default_branch":"master","last_synced_at":"2025-05-11T17:41:28.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TransitApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-24T07:36:06.000Z","updated_at":"2025-04-21T18:13:12.000Z","dependencies_parsed_at":"2022-08-20T22:20:23.432Z","dependency_job_id":null,"html_url":"https://github.com/TransitApp/SVWebViewController","commit_stats":null,"previous_names":["samvermette/svwebviewcontroller"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TransitApp%2FSVWebViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TransitApp%2FSVWebViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TransitApp%2FSVWebViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TransitApp%2FSVWebViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TransitApp","download_url":"https://codeload.github.com/TransitApp/SVWebViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254292043,"owners_count":22046426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T20:02:07.781Z","updated_at":"2025-05-15T07:07:30.030Z","avatar_url":"https://github.com/TransitApp.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SVWebViewController\n\nSVWebViewController is a simple inline browser for your iOS 7 app.\n\n![SVWebViewController](http://cl.ly/SQVO/download/GitHub.png)\n\n**SVWebViewController features:**\n\n* iPhone and iPad distinct UIs\n* full landscape orientation support\n* back, forward, stop/refresh and share buttons\n* Open in Safari and Chrome UIActivities\n* navbar title set to the currently visible web page\n* talks with `setNetworkActivityIndicatorVisible`\n\n## Installation\n\n### CocoaPods\n\nI'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.\n\n### Manually\n\n* Drag the `SVWebViewController/SVWebViewController` folder into your project.\n* `#import \"SVWebViewController.h\"`\n\n## Usage\n\n(see sample Xcode project in `/Demo`)\n\nJust like any UIViewController, SVWebViewController can be pushed into a UINavigationController stack:\n\n```objective-c\nSVWebViewController *webViewController = [[SVWebViewController alloc] initWithAddress:@\"http://google.com\"];\n[self.navigationController pushViewController:webViewController animated:YES];\n```\n\nIt can also be presented modally using `SVModalWebViewController`:\n\n```objective-c\nSVModalWebViewController *webViewController = [[SVModalWebViewController alloc] initWithAddress:@\"http://google.com\"];\n[self presentViewController:webViewController animated:YES completion:NULL];\n```\n\n### SVWebViewControllerActivity\n\nStarting 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!\n\n\n## Credits\n\nSVWebViewController is brought to you by [Sam Vermette](http://samvermette.com) and [contributors to the project](https://github.com/samvermette/SVWebViewController/contributors). If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by [creating new issues](https://github.com/samvermette/SVWebViewController/issues/new). If you're using SVWebViewController in your project, attribution is always appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransitapp%2Fsvwebviewcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransitapp%2Fsvwebviewcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransitapp%2Fsvwebviewcontroller/lists"}