How do I disable a tableview without obscuring the entire screen like in Whatsapp? The idea is when the SearchBar in the SearchController is still empty, the tableview gets dark. to SearchController, by default obscure the entire screen. Using obscuresBackgroundDuringPresentation, also obscure the entire screen.
I'm using Xcode 9.3 - Swift 4.

Try this solution
1) Declare view
2) Add Notification Observer and view color alpha in
viewDidLoad2) Remove Notification Observer use
3) add Constraints to view
4) Add keyboard show and hide methods