Commit Graph

8 Commits

Author SHA1 Message Date
Harry
33e686319c
Use iOS 13+ UINavigationBarAppearance for navbar styling
* Use iOS 13+ UINavigationBarAppearance for navbar styling

* various individual view controller navbar style tweaks and fixes

* Remove unused navigation bar styles

* rename 'default' style blur

* Apply blur style to the UIVisualEffectView generated by UINavigationBarAppearance

* Use iOS 12 navbar blur method on iOS 13 since its bugged

* Fix on iOS 15, use old method on iOS 14

* PR comment nits

* explicitly invalidate KVO observers
2022-12-13 16:17:41 -08:00
Harry
f76dc500a7
Fix onboarding & gif picker on iOS 12
* Fix crash in OnboardingNavigationController on iOS 12
* Fix Gif picker on iOS 12
* Update comment & avoid explicit invocations

Co-authored-by: Max Radermacher <max@signal.org>
2022-11-21 11:16:41 -08:00
Max Radermacher
49fa221d3f Fix OWSNavigationController initializer on iOS 12 2022-11-17 16:11:18 -08:00
Harry
190c56b68b
Fix broken navigation when interactive back swiping on root nav controller 2022-11-09 11:59:38 -08:00
Harry
ca64272c56
Fix janky animation caused by uneccessary navbar hidden state changes
* Fix janky animation caused by uneccessary navbar hidden state changes

* Temporary fix for layout crash issues that re-introduces navbar sizing issue
2022-11-08 16:56:03 -08:00
Harry
b415f4f70e
Fix some issues with OWSNavigationController.swift
* this is the dumbest bug fix I have ever experienced

* Fix uneccesary setNavigationBarHidden messing with scroll gestures

* update comment
2022-11-04 16:21:13 -07:00
Harry
520faa95df
Refactor OWSNavigationController
* make shouldCancelNavigationBack a var

* rename OWSNavigationView->OWSNavigationChildController

* forward delegate calls to OWSNavigationController

* apply theme and style to OWSNavigationBar consistently

fix themeing on gif picker controller

* Use topPinned navbar position. Size the blur effect view using the background view

* Use fade animation when hiding the navigation bar

* fix issues with reduced transparency setting

* pr feedback
2022-11-03 16:40:47 -07:00
Harry
d06babf59f
Translate OWSNavigationController to swift
* Translate OWSNavigationController to swift

* pr feedback
2022-11-03 15:33:02 -07:00