Category: iOS

  • An iOS 17 Multitasking Picture-in-Picture Tutorial

    The topic of multitasking in iOS on iPad devices was covered in detail in the earlier chapter titled A Guide to iPad Multitasking. A multitasking area mentioned briefly in that chapter was Picture in Picture support. This chapter will provide a more detailed introduction to Picture in Picture multitasking before extending the AVPlayerDemo project created…

  • Implementing iOS 17 TableView Navigation using Storyboards

    The objective of this chapter is to extend the app created in the previous chapter (entitled Using Xcode Storyboards to Build Dynamic TableViews) and, in so doing, demonstrate the steps involved in implementing table view navigation within a storyboard. In other words, we will modify the attractions example from the previous chapter such that selecting…

  • iOS 17 Video Playback using AVPlayer and AVPlayerViewController

    Video playback support in iOS is provided by combining the AVFoundation AVPlayer and AVKit AVPlayerViewController classes. This chapter presents an overview of video playback in iOS using these two classes, followed by a step-by-step example. The AVPlayer and AVPlayerViewController Classes The sole purpose of the AVPlayer class is to play media content. An AVPlayer instance…

  • Using Xcode Storyboards to Build Dynamic TableViews

    One of the most powerful features of Xcode storyboards is the implementation of table views through prototype table cells. Prototype cells allow the developer to visually design the user interface elements that will appear in a table cell (such as labels, images, etc.) and then replicate that prototype cell on demand within the table view…

  • An iOS 17 Camera App Tutorial

    In the chapter entitled Accessing the iOS 17 Camera and Photo Library, we looked in some detail at the steps necessary to provide access to the iOS camera and photo libraries in an iOS app. This chapter aims to build on this knowledge by working through an example iOS app designed to access the device’s…

  • An Overview of iOS 17 Table Views and Xcode Storyboards

    If you have spent an appreciable amount of time using iOS, the chances are good that you have interacted with a UIKit Table View object. This is because table Views are the cornerstone of the navigation system for many iOS apps. For example, both the iPhone Mail and Settings apps extensively use Table Views to…

  • Accessing the iOS 17 Camera and Photo Library

    The iOS SDK provides access to both the camera device and photo library through the UIImagePickerController class. It allows videos and photographs to be taken from within an app and for existing photos and videos to be presented to the user for selection. This chapter will cover the basics and some of the theory behind…

  • Using Xcode 15 Storyboards to Create an iOS 17 Tab Bar App

    Having worked through a simple Storyboard-based app in the previous chapter, the goal of this chapter will be to create a slightly more complex storyboard example. So far in this book, we have worked primarily with apps that present a single view to the user. In practice, however, it is more likely that an app…

  • Using MKDirections to get iOS 17 Map Directions and Routes

    This chapter will explore using the MapKit MKDirections class to obtain directions and route information from within an iOS app. Having covered the basics, the MapSample tutorial app will be extended to use these features to draw routes on a map view and display turn-by-turn driving directions. An Overview of MKDirections The MKDirections class was…

  • Organizing Scenes over Multiple Xcode Storyboard Files

    The storyboard created in the preceding chapter is a small example consisting of only two scenes. When developing complex apps, however, it is not unusual for a user interface to consist of many more scenes. Once a storyboard grows in terms of the number of scenes, it can become challenging to navigate and locate specific…