Leaving inputAccessoryView visible after keyboard is dismissed iOS8?

后端 未结 2 1588
旧时难觅i
旧时难觅i 2021-01-19 14:18

I want to make behavior like messaging app. I have been browsing Stack Overflow for solutions for this, and indeed there are plenty:

Leaving inputAccessoryView visib

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-19 14:51

    iOS8 has a retain cycle with the inputAccessoryView. Here's a good post that seems to have a good workaround:

    http://derpturkey.com/uitextfield-docked-like-ios-messenger/

提交回复
热议问题