{"id":13685026,"url":"https://github.com/Fogh/AFWebViewController","last_synced_at":"2025-05-01T00:34:13.769Z","repository":{"id":23097411,"uuid":"26451482","full_name":"Fogh/AFWebViewController","owner":"Fogh","description":"In-app browser that uses WKWebView","archived":true,"fork":false,"pushed_at":"2020-10-09T19:03:48.000Z","size":173,"stargazers_count":40,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-07T00:01:09.344Z","etag":null,"topics":["browser","cocoapods","hacktoberfest","in-app","ios","objective-c","pod","webview"],"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/Fogh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-10T19:20:04.000Z","updated_at":"2023-10-08T13:14:09.000Z","dependencies_parsed_at":"2022-08-20T18:20:33.765Z","dependency_job_id":null,"html_url":"https://github.com/Fogh/AFWebViewController","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fogh%2FAFWebViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fogh%2FAFWebViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fogh%2FAFWebViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fogh%2FAFWebViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fogh","download_url":"https://codeload.github.com/Fogh/AFWebViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224155588,"owners_count":17265355,"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":["browser","cocoapods","hacktoberfest","in-app","ios","objective-c","pod","webview"],"created_at":"2024-08-02T14:00:42.341Z","updated_at":"2024-11-12T06:31:03.897Z","avatar_url":"https://github.com/Fogh.png","language":"Objective-C","readme":"AFWebViewController\n===================\n![Pod version](http://img.shields.io/cocoapods/v/AFWebViewController.svg?style=flat)\n![Pod platform](http://img.shields.io/cocoapods/p/AFWebViewController.svg?style=flat)\n[![Build Status](http://img.shields.io/travis/Fogh/AFWebViewController.svg?style=flat)](https://travis-ci.org/Fogh/AFWebViewController)\n\nIn-app browser\n\n_**For apps targeting iOS 9 and greater you should be using [SFSafariViewController](https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller).**_\n\n## Description\n\nIn-app browser for quick implementation in your app. Pretty much inspired by [`SVWebViewController`](https://github.com/TransitApp/SVWebViewController). \nUses [`WKWebView`](https://developer.apple.com/library/IOs/documentation/WebKit/Reference/WKWebView_Ref/index.html) for a much faster browsing experience. \n\n**Requires iOS 8+**\n\n## Installation with [CocoaPods](http://cocoapods.org/)\n\nInstall with CocoaPods and import `AFWebViewController.h` or `AFModalWebViewController.h` where you want to use it.\n\n### Podfile\n\n```ruby\nplatform :ios, '8.0'\npod 'AFWebViewController', '~\u003e 1.0'\n```\n\n## Usage example\n\n**Push `AFWebViewController`:**\n```objectivec\nAFWebViewController *webViewController = [AFWebViewController webViewControllerWithAddress:@\"https://google.com\"];\nwebViewController.toolbarTintColor = [UIColor orangeColor]; // Does not work on iPad\n[self.navigationController pushViewController:webViewController animated:YES];\n```\n\n**Modal `AFWebViewController`:**\n```objectivec\nAFModalWebViewController *webViewController = [AFModalWebViewController webViewControllerWithAddress:@\"https://google.com\"];\nwebViewController.barsTintColor = [UIColor redColor];\nwebViewController.toolbarTintColor = [UIColor orangeColor]; // Does not work on iPad\n[self presentViewController:webViewController animated:YES completion:NULL];\n``\n## Other iOS open source projects by me\n\n- [AFAddressBookManager](https://github.com/Fogh/AFAddressBookManager)\n- [AFMobilePayRequestHandler](https://github.com/Fogh/AFMobilePayRequestHandler)\n","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFogh%2FAFWebViewController","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFogh%2FAFWebViewController","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFogh%2FAFWebViewController/lists"}