With User defined settings we can set values specific to build configuration.
Creating User Defined Settings
Creating User Defined Settings
Using User Defined Settings
when we need to access the values set in User defined build settings we can do it in two ways
when we need to access the values set in User defined build settings we can do it in two ways
- From info.plist
$(NEW_SETTING) - From Code
let value = Bundle.main.infoDictionary?["NEW_SETTING"] as! String
Comments
Post a Comment