steve228uk / MessengerKit

:speech_balloon: A UI framework for building messenger interfaces on iOS
MIT License
1.48k stars 128 forks source link

Remove input text view #74

Open lingxiao opened 4 years ago

lingxiao commented 4 years ago

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.