Skip to Content
Beginning iPhone Development with SwiftUI: Exploring the iOS SDK
book

Beginning iPhone Development with SwiftUI: Exploring the iOS SDK

by Wally Wang
January 2022
Beginner
468 pages
8h 5m
English
Apress
Content preview from Beginning iPhone Development with SwiftUI: Exploring the iOS SDK
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
W. WangBeginning iPhone Development with SwiftUIhttps://doi.org/10.1007/978-1-4842-7818-5_12

12. Using Alerts, Action Sheets, and Contextual Menus

Wally Wang1  
(1)
San Diego, CA, USA
 

Almost every app needs to display and accept data from the user. The simplest way to display data is through a Text view, but sometimes you need to display data and give the user a way to respond. In that case, you can use an Alert or an Action Sheet. Yet another way to display options to the user is Contextual Menus.

An Alert pops up on the screen, giving the user a chance to respond. Then users can dismiss the Alert by tapping one or more buttons as shown in Figure 12-1.
Figure ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ARKit: Apple’s Augmented Reality App Development Platform

Mastering ARKit: Apple’s Augmented Reality App Development Platform

Jayven Nhan

Publisher Resources

ISBN: 9781484278185Purchase LinkPublisher Website