{"id":13849282,"url":"https://github.com/tonisalae/TSMiniWebBrowser","last_synced_at":"2025-07-12T16:31:31.112Z","repository":{"id":2255451,"uuid":"3210780","full_name":"tonisalae/TSMiniWebBrowser","owner":"tonisalae","description":"In-App web browsing support for iPhone apps","archived":false,"fork":false,"pushed_at":"2016-11-08T19:06:02.000Z","size":445,"stargazers_count":530,"open_issues_count":13,"forks_count":124,"subscribers_count":42,"default_branch":"master","last_synced_at":"2024-09-21T09:02:26.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://indiedevstories.com","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/tonisalae.png","metadata":{"files":{"readme":"README.markdown","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":"2012-01-18T17:43:26.000Z","updated_at":"2024-01-21T03:55:05.000Z","dependencies_parsed_at":"2022-09-11T14:21:49.929Z","dependency_job_id":null,"html_url":"https://github.com/tonisalae/TSMiniWebBrowser","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonisalae%2FTSMiniWebBrowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonisalae%2FTSMiniWebBrowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonisalae%2FTSMiniWebBrowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonisalae%2FTSMiniWebBrowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonisalae","download_url":"https://codeload.github.com/tonisalae/TSMiniWebBrowser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225829364,"owners_count":17530663,"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-08-04T19:01:13.060Z","updated_at":"2024-11-22T01:30:44.347Z","avatar_url":"https://github.com/tonisalae.png","language":"Objective-C","readme":"## TSMiniWebBrowser - In-App web browser control for iOS apps\n\nThere are already some solutions to this problem out there but non of them offers this features. First, this solution solves the well-known **UIWebView bug** that causes erratic behavior when combining \"zooming operations\" and \"landscape orientation\". Moreover, the solution presented is **highly customizable**.\n\nMore about me at [IndieDevStories.com](http://indiedevstories.com)\n\n[![Alt][screenshot1_thumb]][screenshot1]    [![Alt][screenshot2_thumb]][screenshot2]    [![Alt][screenshot3_thumb]][screenshot3]\n[screenshot1_thumb]: http://dl.dropbox.com/u/7604222/GitHub/TSMiniWebBrowser/shot_01_thumb.png\n[screenshot1]: http://dl.dropbox.com/u/7604222/GitHub/TSMiniWebBrowser/shot_01.png\n[screenshot2_thumb]: http://dl.dropbox.com/u/7604222/GitHub/TSMiniWebBrowser/shot_02_thumb.png\n[screenshot2]: http://dl.dropbox.com/u/7604222/GitHub/TSMiniWebBrowser/shot_02.png\n[screenshot3_thumb]: http://dl.dropbox.com/u/7604222/GitHub/TSMiniWebBrowser/shot_03_thumb.png\n[screenshot3]: http://dl.dropbox.com/u/7604222/GitHub/TSMiniWebBrowser/shot_03.png\n\n## Features\n\nTSMiniWebBrowser offers the following **features**:\n\n* Back and forward buttons\n* Reload button (*optional*)\n* Activity indicator while page is loading\n* Action button to open the current page in Safari (*optional*)\n* Displays the page title at the navigation bar (*optional*)\n* Displays the current URL at the top of the “Open in Safari” action sheet (*optional*)\n* Customizable bar style: default, black, black translucent.\n\nAs you can see, there are some items that are “optional”. That means that you can configure the browser to display or not those items, depending on your app needs.\n\nMoreover, TSMiniWebBrowser **supports 3 presentation modes**:\n\n* **Navigation controller mode**. Using this mode you can push the browser to your navigation controller.\n* **Modal mode**. Using this mode you can present the browser modally. A title bar with a dismiss button will be automatically added.\n* **Tab bar mode**. Using this mode you can show the browser as a tab of a tab bar view controller. The toolbar with the navigation controls will be positioned at the top of the view automatically.\n\n## Usage\n\nIf you are OK with the **TSMiniWebBrowser defaults**, you can simply use this snippet to create and display the browser:\n\n\tTSMiniWebBrowser *webBrowser = [[TSMiniWebBrowser alloc] initWithUrl:[NSURL URLWithString:@\"http://indiedevstories.com\"]];\n\t[self.navigationController pushViewController:webBrowser animated:YES];\n\nIf you prefer, you may **customize** the browser behavior. There is also a **simple Demo app** within the project. To test the tab bar mode go to the `application: didFinishLaunchingWithOptions:` method in `AppDelegate.m` and set the `BOOL wantTabBarDemo = NO;` value to `YES`.\n\n\tTSMiniWebBrowser *webBrowser = [[TSMiniWebBrowser alloc] initWithUrl:[NSURL URLWithString:@\"http://indiedevstories.com\"]];\n    webBrowser.showURLStringOnActionSheetTitle = YES;\n    webBrowser.showPageTitleOnTitleBar = YES;\n    webBrowser.showActionButton = YES;\n    webBrowser.showReloadButton = YES;\n    webBrowser.mode = TSMiniWebBrowserModeNavigation;\n\n    webBrowser.barStyle = UIBarStyleBlack;\n\n    if (webBrowser.mode == TSMiniWebBrowserModeModal) {\n        webBrowser.modalDismissButtonTitle = @\"Home\";\n        [self presentModalViewController:webBrowser animated:YES];\n    } else if(webBrowser.mode == TSMiniWebBrowserModeNavigation) {\n        [self.navigationController pushViewController:webBrowser animated:YES];\n    }\n\nAs usual, very easy to use ;)\n\n## Adding TSMiniWebBrowser into your Xcode 4 project\n\nTo add the TSMiniWebBrowser component to your project you simply need to drag \u0026 drop the entire “TSMiniWebBrowser” folder. There are only two files, apart from the icon images.\n\nThis project uses **ARC**.\n\n## Licence\n\nCopyright (c) 2012 Toni Sala\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","funding_links":[],"categories":["Objective-C","etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonisalae%2FTSMiniWebBrowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonisalae%2FTSMiniWebBrowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonisalae%2FTSMiniWebBrowser/lists"}