When putting a solid background color should you use an image for more accessibility or just change the color in the view settings?
NOTE: I need to change the background later on in the app.
When putting a solid background color should you use an image for more accessibility or just change the color in the view settings?
NOTE: I need to change the background later on in the app.
If you have to change the background image/color dynamically, it would mostly be lighter on the app size and view (though the adverse effect might be insignificant) to manage background color of a UIView, than have an additional UIImageView loading up your background image from the assets.
You might also have to keep multiple colored assets in the bundle to account for the dynamicity, if you are to use image assets for handling the same.
If you are targeting for iOS 11.0+, you should surely go with using colors, as you can use color asset to manage your colors at a centalized location, which can be used directly from both the Interface builder and code.