Change height of inputAccessoryView issue

后端 未结 6 1884
感情败类
感情败类 2020-12-24 03:19

When I change the height of inputAccessoryView in iOS 8, the inputAccessoryView not go to the right origin, but covers the keyboard.

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-24 03:56

    The first answer didn't totally solve my problem but gave me a huge hint. Apple did add a private constraint to the accessory view, but you cannot find it in the constraint list of the accessory view. You have to search for it from its superview. It killed my a few hours.

提交回复
热议问题