Delphi

Reading and writing files from an iOS FireMonkey application

Author: dragonhome Here’s an example of how you can read and write files in your iOS FireMonkey application. Enjoy! {$IFDEF FPC} var content : NSString; {$ENDIF} {$IFDEF FPC} function MyFileName : NSString; var paths : NSArray; fileName : NSString; begin paths := NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, True); fileName :=…
Read more