Commit Graph
19 Commits
Author SHA1 Message Date
Stuart Breckenridge e1a25ffa01 🖼️ Fix full-screen image layout and resizing on iOS
Lay out the destination before animating, recenter images after resizing, and calculate title margins without accumulating offsets.

Give images the full screen, now that they have learnt to stay in the middle.
2026-10-25 10:41:37 +08:00
Brent Simmons bec611c1fc Fix blank UI after dismissing a full-screen image. Fixes #3641. 2026-08-02 16:57:28 -07:00
Brent Simmons 98b05ca283 Put image view in navigation controller so that close and share buttons are laid out properly (ignoring iPad traffic lights). Fixes #5260. 2026-05-27 11:38:09 -07:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons dbaa8142e1 Fix various SwiftLint warnings. 2026-01-01 18:07:54 -08:00
Brent Simmons beeeabba24 Convert AppAssets to shared Assets. 2025-11-19 10:38:18 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 4b7ea6d920 Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751. 2025-09-16 10:21:29 -07:00
Maurice Parker a0f429448f Call completions immediately if the previous WebViewController was deallocated because the iPad was rotated. Issue #1757 2020-01-30 18:48:51 -07:00
Maurice Parker af76e44c0f Changed ArticleViewController to utilize UIPageViewController to provide gesture based navigation. 2019-12-31 16:55:39 -07:00
Maurice Parker 6f2e6a7d9a Add mask back in so that the zoom image doesn't overlay the bars when zooming back. 2019-12-10 17:54:14 -07:00
Maurice Parker 9b3793968f Change image zoom animation to take safe area into consideration when determining image origin. Issue #1425 2019-12-09 14:29:17 -07:00
Maurice Parker 76d7c0256a Fix full screen image background color for dark mode 2019-10-16 20:53:49 -05:00
Maurice Parker 6c562f93b5 Add a masking subview so that the image appears to slide under the nav and toolbars 2019-10-16 19:32:33 -05:00
Maurice Parker cb6490222f Change image zoom animation to be a solid picture zooming in and out 2019-10-16 16:40:49 -05:00
Maurice Parker 3ddd14d856 Change zoom out animation to make the view controller appear faster 2019-10-16 11:55:08 -05:00
Maurice Parker 42bccc2fea Remove obsolete code 2019-10-15 20:13:08 -05:00
Maurice Parker 11e9f468d6 Refinement of the full screen image view animation. 2019-10-15 19:52:00 -05:00
Maurice Parker 425b3b09a1 Animate the transition to full screen image view 2019-10-15 18:08:13 -05:00