Re:Show HN: iOS Table View that automatically adjusts with k...
by thought_alarm on Tuesday March 20, 2012 @03:57AM
(#3728255)
Yes, `-convertRect:fromView:` replaces your frame calculations based on rotation.
Re:Show HN: iOS Table View that automatically adjusts with k...
by bobspryn on Tuesday March 20, 2012 @04:03AM
(#3728270)
Ah yes. I see now that I totally missed the fact that the keyboard rect also needed to be converted. Well that was a painful point to miss!
Cool. I'll give that a whirl. Those rotation bits were a biatch. Thanks for the pointers.
Would that method have any significant advantages? Less code? Would it avoid all the crazy frame calculations depending on the rotation?