Driver's license assistant mainly realizes the subject one answer interface and the mock examination, the wrong collection, the online registration and so on some simple function.
:
The main contents used are:
- The database for account one is a database for SQL, using a third-party class library Fmdb to query the SQL database and add the resulting data to the tableview.
- The answer interface is by adding three tableview in a ScrollView, and by judging ScrollView current offset contentoffset when sliding scrollview to get the current number of pages, when the page slip offset changes, Dynamically set three TableView frame with offset, update data and refresh current TableView each time the page is slid.
- Set TableView's Headview and Footview to display the title and answer, after clicking on the option cell, determine if the selection column ordinal is equal to the answer number to show whether the current option is correct and displays the correct answer.
- Topic view swipe to the selected topic by setting the offset of the scrollview.
- The mock exam is done by setting up a 60-minute timer and randomly selecting 100 questions in the test bank.
- Using iOS-UIWebView to access the Driving School registration website for online registration, through MPMoviePlayerController to achieve the local video playback of account II and account three.
- Play GIF animations with a third-party class library Scgifimageview.
Driver's license Assistant