From 2f9e203058df442921fc0151ddc5fe9b68b87935 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 21 Mar 2021 14:29:51 +0200 Subject: iOS: Save to Files; hide toolbar on scroll There is no downloads directory on mobile. Instead, the downloaded file is temporarily cached and given to the iOS document picker to export. Added an option to hide the bottom toolbar while scrolling down. --- src/ios.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ios.h') diff --git a/src/ios.h b/src/ios.h index 9490491f..29669a26 100644 --- a/src/ios.h +++ b/src/ios.h @@ -32,7 +32,9 @@ enum iHapticEffect { void setupApplication_iOS (void); void setupWindow_iOS (iWindow *window); -iBool isPhone_iOS (void); -void safeAreaInsets_iOS (float *left, float *top, float *right, float *bottom); iBool processEvent_iOS (const SDL_Event *); void playHapticEffect_iOS (enum iHapticEffect effect); +void exportDownloadedFile_iOS(const iString *path); + +iBool isPhone_iOS (void); +void safeAreaInsets_iOS (float *left, float *top, float *right, float *bottom); -- cgit v1.2.3