Question
***IN SWIFT*** Write a travel guide application for iPhone 11 to advise the tourist attractions of cities. The cities and their attractions the application needs
***IN SWIFT***
Write a travel guide application for iPhone 11 to advise the tourist attractions of cities.
The cities and their attractions the application needs to consider include:
o Lexington: Keeneland, Arboretum o Chengdu: Panda, Pedestrian Street
o Chicago: Millenium Park, Skydeck, Cruise, Planetarium
o Hongkong: Disneyland, Ocean Park, The Peak
According the users selection, the application displays the chosen citys name and attraction, as well as the corresponding picture
. The application should also include an icon picture Figure 1 is the screen shot when the application first starts. When a different city is selected (e.g., Chicago), the first attraction of the city will be displayed as in Figure 2. Selecting another attraction will result in the display of a new picture as in Figure 3.
Hint:
You can choose the pictures you like to be used in this application.
The following methods of segmented controls can be used to delete all existing segments and then insert new segments one by one at the specified locations.
o removeAllSegments() o insertSegment(withTitle:, at:, animated:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started