I have successfully added textField to navigationBar of MDCAppBar. But now it appears to be lower than it is desired. My code:
let searchTextField = MDCTextField()
searchTextField.placeholder = "Search"
appBar.navigationBar.titleView = searchTextField
I also tried to specify the frame of textfield, but the outcome is the same.
© 2016 Powered by mzan.com design MATCHINFO