O'Reilly logo

Developing C# Apps for iPhone and iPad Using MonoTouch: iOS Apps Development for .NET Developers by Bryan Costanich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Working with Shared Resources

iOS contains a number of shared resources that you can access from your application. In this chapter, we're going to look at using the following iOS resources:

  • File system

  • Battery

  • Contacts

  • Photos and camera

  • Network indicator

  • Accelerometer

File System

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, such as Directory, File, and the like, but there are a few restrictions to be aware of. Additionally, it's important to understand the directory structure specific to iOS applications in order to know where and when to store things.

Case-Sensitivity

Before delving into the file system, an important ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required