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
Get step-by-step solutions from verified subject matter experts
