Browser View

The Browser component is build to present any kind of websites or blogs. The implementation of Browser is straightforward. You can implement it manually or using Cocoapod package manager.

Name Version Content
MGBrowserKit 0.1.7 UINavigationBar - UIWebView


To install this component you can use Cocoapods or drag and drop the folder of the component into your project manually.


MGBrowserKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'MGBrowserKit', :git => ''


To customize content of Browser component you have to edit BrowserComponent.swift file. By updating and changing this file you will have different content. Follow the steps below. Open the file and start edit this block of code:


To change the items of content, edit this code of lines:

return BrowserAsset(
  string: BrowserString(
      title: "My Website",
      navigationTitle: "My Website"),
  font: BrowserFont(),
  image: BrowserImage(),
  color: BrowserColor(
      navigationBar: MGTemplate.color.navigationBar,
      navigationBarContent: MGTemplate.color.text.primary,
      toolBar: MGTemplate.color.toolBar,
      toolBarContent: MGTemplate.color.text.primary,
      view: MGTemplate.color.view,
      viewContent: MGTemplate.color.text.primary),
  data: BrowserData(
    url: "",
    enableAds: false,
    adsUnitId: "ca-app-pub-3940256099942544/2934735716"))