Commit graph

200 commits

Author SHA1 Message Date
David Sinclair
383384b6df #1270 (replacing UIWebView with WKWebView)
- All app-specific uses of UIWebView have been replaced with WKWebView.
- Some third-party uses remain.
- More testing required.
- Note that I’ve bumped the minimum iOS version to iOS 11, since that is needed for WKWebView support.
- Committing to a new branch until ready.
2020-02-23 15:21:32 -08:00
David Sinclair
1692e581d9 #1273 (making dark themes darker)
- The Dark theme now uses pure black for the story background, and some other darker colors.
- The Medium theme now also uses darker colors.
2020-02-20 20:32:49 -08:00
David Sinclair
106c970b4a iOS: #1236 (offline text)
- Added a "Download text" preference.  Defaults on.
- If on, the text is fetched for feeds that are in text view when fetching new stories.
- The text is fetched after stories, and before images, using a similar mechanism.
- The text is stored in a new "cached_text" database table.
- The text is deleted when the story is deleted.
- When displaying a text view, the cached text is used if available, otherwise it is fetched as before.
2019-10-25 20:52:51 -07:00
David Sinclair
b05656db07 iOS: fixed #1223 (unable to mark unread)
(See details in following comment.)
2019-08-22 12:03:39 -07:00
David Sinclair
d82016614e iOS: #1211 (story blank on load)
Moved the 1-second load (which was added for issue #1152, to cope with slow avatars) to after the full HTML is generated, so it won’t fail. Also changed to GCD `dispatch_after` instead of `NSTimer`.
2019-06-25 20:53:54 -07:00
David Sinclair
7d2b1dd5d2 iOS: #1203 (show story changes)
When there are changes, the “Show Changes” button appears before the date, like on the web. Tapping loads and displays the changes, and the button changes to “Hide Changes”, which works without loading. The insertion and deletion highlights support style-appropriate colors.
2019-06-19 20:45:30 -07:00
David Sinclair
2c11901d67 iOS: #1186 (full screen controls hide with traversal)
Fixed nav bar appearing and disappearing when scrolling on older iPhones.
2019-05-29 15:11:52 -07:00
David Sinclair
7cde63bdd1 iOS: #1186 (full screen controls hide with traversal)
The autoscroll controls will now hide with the traversal when scrolling. They still appear on tap, or when going to a new story, to make it easy to re-enable scrolling. Of course, they never appear if set to manual scrolling.
2019-05-16 13:58:03 -07:00
David Sinclair
fc96af7e2b iOS: #1157 (interactive back gesture) 2019-04-24 13:02:04 -07:00
David Sinclair
65465ff31b iOS: #1182 (full screen tweaks)
- Fixed offset short stories.
- Moved autoscroll controls closer to bottom on iPhone or compact.
- Moved autoscroll controls between traversal buttons on regular iPad.
2019-04-16 20:24:42 -07:00
David Sinclair
71194bfd2f iOS: #1160 (state restoration)
- Added a "Restore position" preference in the "Reading Stories" group, with options to restore the previous state on launch always, within a specified interval, or never.
- When within the indicated interval, the app restores the feeds, feed detail, and story selections and scrolling positions.
- The active story is marked unread to ensure it remains available for restoring, and re-marked read when resumed.
- NOTE: only supported on iPhone for now.  I’ll add iPad support later.
2019-03-22 20:55:22 -07:00
David Sinclair
9ffb727d70 iOS: tweaked #1137 (full screen)
- Pinch in gesture in a story to force the nav bar to show when hidden for full screen or autoscroll.
- Pinch out gesture to hide it if appropriate.
- Form sheet Safari presentation now only on iPad.
- Responsive swipe is covered by another issue.
2019-03-04 20:07:42 -08:00
David Sinclair
992e836529 iOS: #1171 (autoscroll)
I really like this feature!

- Added a segmented control to the story detail menu (in the previous commit).
- When autoscroll is on, the story scrolls automatically.
- Tapping the story when autoscroll is on now shows a small overlay with buttons to turn off autoscroll, pause/resume scrolling, go slower, or go faster.
- The overlay auto-hides after a moment.
- Uses full-screen, even if not separately enabled.
- The user can still manually scroll, and it keeps autoscrolling from there.
- It stops autoscrolling when reaches the bottom.
- When going to another story, the autoscroll overlay briefly appears (if enabled), so the user can resume autoscroling, but it doesn’t resume automatically.
2019-02-28 15:29:31 -08:00
David Sinclair
ba94f4ef8f iOS: #1137 (full screen)
- Removed the tap gesture, as requested. Though I suspect you might change your mind about that one.
- Added a segmented control to toggle full screen in the story detail menu.
- (Also added one for the forthcoming autoscroll feature while I was there, since it’s easier to add both at once.)
- Fixed a bug with full screen when vertically scrolling between stories.
2019-02-27 13:33:38 -08:00
David Sinclair
c8d7f88890 iOS fixed #1149 (mark read on scroll while loading) 2019-01-30 15:07:26 -08:00
David Sinclair
6c97dc1868 iOS done #1152 (draw story after 1 second) 2019-01-30 14:39:50 -08:00
David Sinclair
d86e0b5234 iOS: #1137 (full screen reading)
Now shows the traverse buttons when showing the bar, and hides when hiding.
2019-01-24 20:04:00 -08:00
David Sinclair
b707623e00 iOS: #1137 (full screen reading) 2019-01-18 15:21:56 -05:00
David Sinclair
8a3bf493a3 iOS: #1137 (full screen reading)
Show bar on edge swipe.
2018-12-24 21:01:45 -08:00
David Sinclair
cd101bfc41 iOS: #1137 (full screen reading) 2018-12-24 14:39:28 -08:00
David Sinclair
148fc31f54 Commented out dynamic hiding. 2018-12-21 13:12:41 -08:00
David Sinclair
1359d04fe1 iOS: #1137 (full screen reading)
Now supports interactively hiding or showing the nav & status bars when scrolling up and down, and the text no longer moves when hiding/showing via tap.
2018-12-13 08:22:37 -08:00
David Sinclair
83bc82e104 iOS: #1150 (sound pauses when loading story)
Don’t need to make the audio session active; the Info.plist audio value is enough for the AirPlay fix.
2018-11-29 13:46:42 -08:00
David Sinclair
c735df76f7 iOS: new iPad Pro compatibility
Story view updated for new iPad Pro.
2018-11-29 13:35:44 -08:00
David Sinclair
384a648858 iOS: #1137 (full screen reading)
Added a screen edge swipe gesture recognizer to support that when full-screen (as the built-in one doesn’t work then); added support for tapping images to toggle.
2018-11-21 14:40:29 -08:00
David Sinclair
fe65f038a6 iOS: #1137 (full screen reading)
Added a "Tap story" preference with "Toggle full screen" and "Do nothing" options; toggling is the default.  This is only available on iPhone.  When active, a single tap in a story, not on a link, image, movie, or button, will hide or show the status and navigation bars.  On iPhones with a notch (iPhone X, XS, etc), the feed bar at the top is also hidden, so the story can scroll under the notch, using every bit of the screen.
2018-10-31 20:05:11 -07:00
David Sinclair
2c88f21331 iOS: done #1091 (story theme switch) 2018-10-22 15:14:12 -07:00
David Sinclair
c0f5f1af95 iOS: done #1129 (locking device stops AirPlay) 2018-09-26 13:55:04 -07:00
Samuel Clay
9bc5fc1375 Rearranging scroll. 2018-09-26 09:57:29 -04:00
David Sinclair
ab1de65a33 iOS: done #1112 (3D Touch preview links) 2018-08-30 20:33:08 -07:00
David Sinclair
3ce5f1dc5a iOS: done #1100 (scroll vertically between stories)
Added a new "Scroll horizontally" preference (in the "Reading Stories" section of the prefs).  Defaults off.  Note that this is a change in behavior from before; you might want to default it on to avoid confusing existing users.  I do prefer the new vertical scrolling behavior.
2018-08-30 16:33:42 -07:00
Samuel Clay
cf70d7b65f Fixing copied/saved toasts on ios. 2018-07-13 15:25:27 -04:00
Samuel Clay
e3c48062c6 Video should autoplay, but inline. 2018-04-14 21:26:03 -07:00
Samuel Clay
a1e2970caa No more autoplay for videos on iOS. Fixes #1096. 2018-04-05 09:31:11 -04:00
Samuel Clay
98537bd4f8 Removing base64 lib. 2017-11-30 16:57:10 -08:00
Samuel Clay
055e8f0352 Themeing text view paywall. 2017-11-15 17:11:44 -08:00
Samuel Clay
098f2ca780 Text view now behind paywall. 2017-11-15 17:11:37 -08:00
Samuel Clay
9bb1bf0973 Fixing traverse view position on iphone 8, iphone X, and ipad. 2017-11-06 20:09:31 -08:00
Samuel Clay
2ffdabdbb8 Moving traverse view down on older iPhones. 2017-11-05 21:43:08 -08:00
Samuel Clay
0e306014ec Fixing ios 11 warnings. Also fixing share view title icon size. 2017-11-05 18:44:33 -08:00
Samuel Clay
5e2f139657 Using safe area insets instead of hard coded offsets. 2017-11-05 18:30:47 -08:00
Samuel Clay
8df5237e29 Adding in-app safari reader mode preference. Also adding San Francisco as a story font. Thanks to Will Sigmon (@WSig) for both ideas. 2017-11-05 18:22:58 -08:00
Samuel Clay
f2ce4b7ca0 Fixing image sizes on both 10" and 12" iPad Pro. 2017-11-01 21:51:56 -07:00
Samuel Clay
0fd0c75e44 Animation progress bar, but there's a jump that needs fixing. 2017-10-30 18:06:38 -07:00
Samuel Clay
bbd61a65c3 Fixing auto-scroll to last read position in stories. 2017-10-26 12:50:04 -07:00
Samuel Clay
ae6bf532f2 Fixing warnings for iPhone X and Xcode 9. 2017-09-26 10:48:02 -07:00
Samuel Clay
55ce86c3cf Fixing favoriting HUD on ipad. 2017-06-02 18:16:33 -07:00
Samuel Clay
4d980ab267 Adding error handling on a bunch of views: share, save, unread. 2017-06-01 22:32:35 -07:00
Samuel Clay
6f0eb995bc Huge number of fixes for the Story titles on bottom layout on iPad. Better image support and fixes for drag-and-drop. Also fixing sharing being broken after a reply. 2017-05-11 12:51:40 -07:00
Samuel Clay
e87a6cbbc1 Long pressing links in stories shows both system context menu and share sheet. 2017-05-10 22:18:14 -07:00