Starting from:

$30

Mobile Application Development Homework 8


CptS 479 Mobile Application Development
Homework 8

General Instructions: Put the entire app directory into one zip file and submit as an attachment
under Content à Homework 8 for this course on the Blackboard Learn system by the above
deadline. Note that you may submit multiple times, but only the most recent entry submitted before
the above deadline will be graded.
For this homework you will extend the QuizApp functionality from HW5 so that once you tap on
a question and enter the detail view, you can swipe left or right to move to the next or previous
question. See screenshots below. Specifically,
1. Change the question detail view’s navigation bar title to include the question number. You
may need to modify how information is passed via the segue to the question detail view so
that you have all the questions and the selected question index from the table view.
2. Add a swipe-left gesture to the question detail view so that swiping left will take you to the
next question. Swiping left on the last question takes you to the first question. You can add
this gesture via the StoryBoard or programmatically.
3. Add a swipe-right gesture to the question detail view so that swiping right will take you to
the previous question. Swiping right on the first question takes you to the last question.
You can add this gesture via the StoryBoard or programmatically.
4. Be sure that auto layout constraints are set so that the view elements are appropriately
displayed with no overlap regardless of device orientation.
5. Other than the changes described above, your app should also meet all HW5 requirements.
In particular, newly-added quiz questions should appear appropriately in the question detail
view as you swipe through the questions.
2
StoryBoard:
Simulator:
After tapping 3rd Initial view row… Then swiping left…

More products