Open lingxiao opened 4 years ago
Is there away to remove the input text view? I tried doing: style.inputView = TrivialInputView.self
style.inputView = TrivialInputView.self
And defining a TrivialnputView by modifying what is found here: https://github.com/steve228uk/MessengerKit/blob/05168377536ebeae3653edfa5acc6410895cd72f/MessengerKit/Input/Styles/iMessage/MSGImessageInputView.swift.
But it crashes outright with error: Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value for tint color. Even though it is specified.
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Is there away to remove the input text view? I tried doing:
style.inputView = TrivialInputView.self
And defining a TrivialnputView by modifying what is found here: https://github.com/steve228uk/MessengerKit/blob/05168377536ebeae3653edfa5acc6410895cd72f/MessengerKit/Input/Styles/iMessage/MSGImessageInputView.swift.
But it crashes outright with error:
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
for tint color. Even though it is specified.