Skip to content

Simple guide · Overview

Page status: HistoricalHistory group: Classified notes

NutsNews iOS Safari Delegate Build Fix

This fixes the Swift build error in SafariView.swift.

Visual overview

Primary diagram

System map

This fixes the Swift build error in SafariView.swift.

Render the repository-owned system map when you need it.

Diagram is not rendered yet.

View as text
NutsNews iOS Safari Delegate Build Fix

This fixes the Swift build error in SafariView.swift.

flowchart TB
  accTitle: NutsNews iOS Safari Delegate Build Fix
  accDescr {
    This fixes the Swift build error in SafariView.swift.
  }
  A["NutsNews iOS Safari Delegate Build Fix"] --> B["ios/NUTSNEWS_IOS_SAFARI_DELEGATE_BUILD_FIX_README.md"]
  B --> C["Auto-generated placeholder diagram"]

NutsNews iOS Safari Delegate Build Fix

Fullscreen diagram view.

This fixes the Swift build error in SafariView.swift.

  • Moved safariViewController.delegate = self to after super.init(...).
  • Keeps the iPad forced-fullscreen original story browser behavior.
  • Keeps iPhone behavior unchanged.
  • NutsNews/NutsNews/Support/SafariView.swift
  • NutsNews/NutsNews/Features/Article/ArticleDetailView.swift