ios-samples/FileSystemSampleCode
Rolf Bjarne Kvinge c48c4d648c
Add .editorconfig and fix formatting accordingly. (#471)
The new .editorconfig is copied from the one in xamarin/xamarin-macios.

Formatting was fixed using 'dotnet format whitespace --folder .'
2023-02-17 14:55:43 +01:00
..
FileSystem Add .editorconfig and fix formatting accordingly. (#471) 2023-02-17 14:55:43 +01:00
Screenshots Update 'FileSystem' sample (#310) 2018-12-06 20:25:53 -08:00
Metadata.xml Add brief description tag to metadata.xml 2015-03-23 18:03:04 +03:00
README.md onboard missing samples 2019-08-01 20:25:15 -07:00
WorkingWithTheFileSystem.sln Remove invalid project from FileSystemSampleCode (#404) 2020-08-12 17:24:44 -04:00

README.md

name description page_type languages products urlFragment
Xamarin.iOS - File System Demonstrates how to use the file system in iOS Working with the file system in iOS is not unlike working with the file... sample
csharp
xamarin
filesystemsamplecode

File System

This sample application demonstrates how to use the file system in iOS, discussed in the Xamarin.iOS documentation.

Working with the file system in iOS is not unlike working with the file system in .NET from Windows. You can still use the System.IO classes that you're used to working with but there are a few restrictions to be aware of. Additionally, its important to understand the directory structure specific to iOS applications in order to know where and when to store things.

iOS app that loads and saves to the file system

Prerequisites

  • Visual Studio on Mac or Windows.
    • Mobile Development with .NET (Xamarin) workload installed.
    • If you're using Windows, there should be a Mac available on the network.
    • Mac computer with the latest version of macOS.
  • Latest version of Xcode from Apple on the Mac.

Running the sample

  1. Open the solution file (.sln) in Visual Studio.
  2. Use the Run button or menu to start the app.