masong2012 / InputHelper

Import InputHelper
MIT License
32 stars 13 forks source link

can not work with Autolayout #2

Open tomisacat opened 9 years ago

tomisacat commented 9 years ago

I searched almost all InputHelper-like library but cannot find one that support Autolayout. Is there some way to make it(InputHelper) worked with a view that managed by Autolayout? Or how can I set a view's frame which has been added to superview with Autolayout?

tomisacat commented 9 years ago

Hi masong, I noticed that the commit message: " *InputHelper will support UIScrollView/UITableView And Autolayout. ". It's really a big surprise to support Autolayout! And can I ask to know about what time this feature will be added? Hope your reply and Thanks!

BTW, it happend to crash sometime (rarely but will), I will report if that happened again :)

tomisacat commented 9 years ago

I got how to reproduce the crash: I input something in a UITextField whose superView is a ViewController's view(which i setupInputHelper), then I leave this ViewController and enter another ViewController which contains a UISearchBar(I drag a UISearchBar and UISearchDisplayViewcontroller into storyboard), and when I start to input it crashed. If I didn't input something into the TextView and click searchBar directly it will not crash, maybe this will help you to find the reason: crash