Dynamic Quiz Game iOS

* * * * (100 ratings)
Dynamic Quiz Game | App Code for Sale | Hero
Dynamic Quiz Game | App Code for Sale | Hero



Quiz Game is native application for iPhone that allows you to easily create quiz game.

Application is ready for build and be uploaded to the iTunes store.

What you can do

This project is easy to use and configure over property list (XML), so there is no need that you know programming. Project is ready to be build and published to iTunes store. You can define quiz topics as many as you like, each quiz have unlimited number of questions, for each question there are 4 possible answers and between them you have to define correct answer. When user select quiz, gameplay screen appears and user have to pick correct answer in 5 seconds. Time is represented visually as 5 lines that will turn to gray when each second pass and they'll change color from green to red depending how much seconds is left. Game also support configurable score system.


  • easy to use, configure XML, build and run
  • unlimited quiz topics and questions for each
  • 4 possible answers, 1 correct answer
  • timed game, remaining time presented graphically
  • configurable score system (score is based on correct answers and time left)
  • high score system (best score is saved, option to share score on Twitter)
  • and much more...

Quiz game application allows you to define quizzes, as many you like, with unlimited number of questions. Application is configurable over property list (XML), so it's easy to define everything without programming knowledge. When user starts application list of quizzes will be displayed in table view.

Each row is configurable over property list and it consist of:

  • quiz icon
  • quiz name
  • quiz description

If there are more quizzes than shown on image above, user can scroll list of quizzes verticaly.

Tap on row will open selected quiz and start game. Transition between quiz menu and gameplay view is horizontal flip.

Gameplay menu consist of:

  • label with question horizontaly centered in top frame
  • image that represent time left with five lines, as time pass line by line will turn gray and remaining lines will change colors from green to red
  • in middle you can see points player scored
  • on left side of points there is current question number
  • on right side there is label showing how much user will score (remaining time also effect score)
  • 4 frames with answers allow user to choose between one of answers, if answer is correct it'll turn green, otherwise it'll turn red and in same time correct answer will turn green
  • at bottom of screen user have option to pass current question so points won't be substracted if he answer wrong
  • there is also an option to quit the game

When question is answered view will show fade out and than fade in transition to next question.

Point system is configurable trough code. You can also configure time that is allowed for each question.

Upon game completition highscore screen will appear. Highscore system save score for each quiz separately, so title of navigation bar on this screen will be name of quiz user played, on image below this quiz was named „History“.

Below image highest score is shown and scored from recently played game.

On right side of Navigation bar there is option to share score on Twitter.

Button to close this view and to go back to main view is on left side of navigation bar.

Property list (XML) configuration - Quizzes

Project is easy to configure with property list (XML) without any need to know programming. This file is named quizzesList.plist and it can be found in folder Supporting Files.

It is really easy to edit this nodes or to add new one with same structure to create new quizzes.

Root node is named Quizzes and it is array that contain several dictionaries, each of them is one quiz. Child nodes of root node are named Item0, Item1, Item2 and so on depending how many quizzes are there.

Each child node consist of following nodes:

  • quizName – name of quiz displayed in table view on quiz selection view
  • quizDescription – description of quiz displayed in table view on quiz selection view below quiz name
  • quizImageName – icon representing quiz displayed in table view on quiz selection view
  • questions – consist of child nodes that define questions in game: o question – question displayed in top frame of game view o answers  Item 0 – first answer  Item 1 – second answer  Item 2 – third answer  Item 3 – fourth answer o correctAnswerIndex – integer number of correct answer (0, 1, 2 or 3)

Property list (XML) configuration – Time and Score

Project also includes second property list (XML) named config.plist that is used to define time and score system. It consist of following nodes:

  • timeToAnswer – number of seconds that player have to answer question
  • pointsPerRemainingSecond – points player will receive for remaining seconds if question was answered correctly
  • pointsPerCorrectAnswer – points player will receive for correct answer
  • pointsPerWrongAnswer – points player will receive if answered wrong (this point are negative value, so if answer is wrong player will receive -100 points)

XCode Project


Project requires following frameworks:

  • MessageUI.framework
  • Security.framework
  • SystemConfiguration.framework
  • UIKIT.framework
  • Foundation.framework
  • CoreGraphics.framework



Main view display list of quizes from property list. Property list name is defined at top of main file:

#define kPlistName @"quizzesList"

This view is table view, on row select method:

- (void)tableView:(UITableView *)tableView 
didSelectRowAtIndexPath:(NSIndexPath *)indexPath

will open QuizViewController.


Quiz view controller is game play view. On top of .m file you can find following defines:

#define kFadeOutAnimationDuration 1.0f
#define kFadeInAnimationDuration 1.0f

Defines kFadeOutAnimationDuration and kFadeInAnimationDuration will allow you to change duration of animation transition between quiz questions.


Result view controller is used to display final score and highscores in games. QuizCell

Celll that is shown on main view is programatically created here.

Randomization of questions. This feature user can enable/disable just by making YES/NO in class file named MainViewController.m, there is a BOOL Member named "_isRandamizationRequired" set this value according to your need.

Score sharing

ShareKit SDK is used to provide sharing on social networks. Methods twitterConsumerKey and twitterSecret has to be changed in QuizSHKConfigurator.h to enable access to Twitter.

You can get more information about Twitter API keys at:


Release Update

July 02, 2013

  1. The randomize feature has been updated with arc4random .
  2. Now you can choose a certain amount of questions to be showed in the app from a list (i.e. show just 20 random question from a list of 500)
  3. Fixed minors bugs.

October 07, 2012

Supports for iOS 6.0

Fixed some memory issues.

152 Comments Leave a comment


Please login in order to leave a comment.

Newest first
  • bradyhoak Buyer 2015-10-10 16:13:02 Thread #96048

    I just want to thank the developer. I have been using this template for several years now successfully. You can see how I customized it here: https://itunes.apple.com/us/app/brickcraft-unoffic...

  • tonysqrd Buyer 2014-11-21 03:28:24 Thread #50215

    Is there going to be an iOS8 version for this app and when?

    I purchased this but it does not even work on iOS7.

    • tonysqrd Buyer 2014-12-02 16:49:18

      Any update on this?

  • tania2014 Buyer 2014-05-20 16:04:30 Thread #24433

    Hello! How can I change the background image ? Thanks a lot :)

    • tania2014 Buyer 2014-05-20 16:10:26

      Please reply because otherwise I cannot use the product and I'll have to ask for a refund :(


  • tania2014 Buyer 2014-05-16 15:38:23 Thread #24015

    Hello! How can I add more questions so that the quiz displays more than 4 questions in one go? 


  • Pebbles 2014-04-16 17:27:12 Thread #20588

    I'm interested in purchasing and have these questions:

    1. Is there a way for the user to review the questions they got wrong? 

    2. Is there an INFO BUTTON for the user to read more about the question before answering it? 

    3. Can they share this app to their social medial profile?

    4. Can they email the developer for questions or problems instead of posting a negative comment on the app store?

    Thank you!

  • cmdalkiran Buyer 2014-04-02 11:49:39 Thread #18835

    Please help about this submission problem as it asked before, QuizSHKConfigurator.o file error!

  • metemma 2014-03-17 04:29:00 Thread #16645

    Do you have plans to make an Android version of this?

  • tonysqrd Buyer 2014-03-10 02:25:18 Thread #15563

    Can I buy the single App Licence to see if it actually works and if it easy to port to iOS7 and if it does can I then buy the $99 one for $99 - $29?

  • tonysqrd Buyer 2014-03-08 20:57:10 Thread #15375

    Can the answer be in two lines? If not, what is the character limit.

  • jehartley 2014-03-05 19:12:20 Thread #14871

    When will this work with iOS 7?

to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.