I just had a lovely time trying to figure out why my UITableView was snapping back to 0,0 when the keyboard was going away.

In the end I had recently modified my code to use contentInset (and scrollIndicatorInsets) when the keyboard was visible.

Using lldb with a breakpoint on setContentOffset, I was finally able to see that when I set "contentInset" that contentOffset was getting set to 0,0.

Is this known behavior (or desired behavior?) I'm using Xcode 4.2 with a deployment target of 4.3.


David
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to