Description
'searchTextField' is only available in iOS 13.0 or newer error in AddArtistsViewController.configureSearchController()
Expected Behavior
searchBar.searchTextField.textColor = ColorPreference.mainColor should only run for devices running iOS 13 +
Actual Behavior
searchBar.searchTextField.textColor = ColorPreference.mainColor is run on devices running lower than iOS 13 as well as iOS 13 +
Steps to Reproduce the Problem
- Attempt to compile with deployment target of iOS 12 or lower
Possible solution
Add 'if #available' version check
Specifications
<- Delete if none ->
Screenshots