This is just a toy project to show how you can easily stick a fully-functional UIView
into an arbitrary UIWebView
, along
with book-style paging. The interesting pieces are:
- The
<style>
block in Simple.html - The "embed"
<div>
in Simple.html (line 125) ViewController.swift
and particularlyrectForElement
.