WhatsNewKit v1.1.6 Release Notes
Release Date: 2019-02-02 // about 5 years ago-
Layout Insets
If you wish you can modify the layout insets of the
WhatsNewViewController
components.// Set TitleView Insets (Default values)configuration.titleView.insets = UIEdgeInsets(top: 50, left: 20, bottom: 15, right: 20)// Increase the CompletionButton Bottom Inset configuration.completionButton.insets.bottom += 10
iPad Adjustments
🔧 If you wish to modify the
WhatsNewViewController.Configuration
when presenting it on an iPad you can set thepadAdjustment
closure.// Set PadAdjustment closureconfiguration.padAdjustment = { configuration in// Adjust TitleView FontSize configuration.titleView.titleFont = .systemFont(ofSize: 45, weight: .bold) // Invoke default PadAdjustments (Adjusts Insets for iPad) WhatsNewViewController.Configuration.defaultPadAdjustment(&configuration) }
🔧 > ☝️ In default the
WhatsNewViewController.Configuration.defaultPadAdjustment
will be invoked.