App Templates  /  Would You Rather
iOS app template · Full source code

Would You Rather - SwiftUI Game

SwiftUIiOS 14+Xcode 13+AdMobFirebaseIn-App Purchases
$89
Buy Source Code
  • Complete Xcode project
  • Full SwiftUI source code
  • Free support included
Watch the video demo ↓
Full source codeCustomize the complete Xcode project
SwiftUINative Apple development
iOS 14+Minimum supported iOS version
Free supportHelp with the source code as delivered
About the template

Would You Rather

Would You Rather is a popular game that you can play at a party, alone, or with your friends. The game presents a question with two possible options, and you must choose one. To make the game more interesting, we have integrated it with Firebase, so we can display the percentage of users that selected the first or the second option.

You will get the source code of the app that you see on the video demo. Nothing more or less than what the video demo shows. Feel free to ask questions before buying. The app is built using SwiftUI and supports iOS 14+.

Requirements

What do I need to get started?

You will need a Mac computer with Xcode 13 installed. This app requires iOS 14+. All app templates on this website are for iPhones, with no iPad support. AdMob account is required if you want to show ads in the app. Make sure your Mac has the CocoaPods already installed since this is a minimum requirement to install the AdMob framework.

How it works

How does it work?

  • The app offers users a list of categories (defined in the app), and each category has questions stored in Firebase.
  • When the user answers a question, we will update the number of votes/answers for that question in the database, then show the percentage result on the screen.
  • All questions that are answered, are stored on the device, so we won't show the same question twice. The user will be notified when they have answered all questions for a category, and they can also reset them, in case they want to play the game again.
  • The user has the option to Create Puzzles (questions) directly in the app and submit them to the Firebase database. You can either approve all questions instantly or manually go to Firebase and review the questions created by the users, so you can only approve the appropriate ones.
  • The app has in-app purchases to allow users to unlock all categories and remove the ads. In-App Purchases are handled via a private framework. This framework doesn't support subscriptions. You can use this framework for any other games/apps that you want to add in-app purchases. If you want auto-renewable subscriptions, please contact us or search for 'PurchaseKit by Apps4World' in order to get the full version of the PurchaseKit product.
Video demo

Would You Rather

Always be 20 minutes late for important events
Always be 2 hours early to everything else

Need more than the template?

I can customize this project for your product, add features, or use it as the starting point for a larger native iOS app.

Discuss a custom build →