Bird
0
0

What is the purpose of the Info.plist file in an iOS Swift project?

easy📝 Conceptual Q2 of 15
iOS Swift - iOS Basics and Setup
What is the purpose of the Info.plist file in an iOS Swift project?
ATo manage user interface layouts
BTo hold Swift source code
CTo store app configuration and metadata
DTo store image assets
Step-by-Step Solution
Solution:
  1. Step 1: Understand Info.plist role

    Info.plist stores app settings like app name, version, permissions, and configurations.
  2. Step 2: Differentiate from other files

    Swift code is in source files, UI layouts in storyboard files, and images in asset catalogs.
  3. Final Answer:

    To store app configuration and metadata -> Option C
  4. Quick Check:

    Info.plist = app metadata [OK]
Quick Trick: Info.plist holds app settings, not code or images [OK]
Common Mistakes:
  • Thinking Info.plist contains code
  • Confusing with storyboard files
  • Assuming it stores images

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More iOS Swift Quizzes