Я создаю базу приложений iPhone на uitableview и uitabbar. В каждой ячейке tableview у меня есть кнопка "добавить в избранное". Когда я нажал эту кнопку, я хочу, чтобы ячейка "перескочила" с ее позиции на любимый элемент на вкладке (так же, как и эффект загрузки в installous).
Эффект хорошо работает, если я на верхней 10 ячейке, но если я прокручу в таблице, эффект не будет хорош, потому что начальная позиция вычисляется из размера uitableview.
Возможно узнать положение ячейки из видимой области.
Пример: для сороковой ячейки позиция x: 0, y: 1600, w: 320, y: 50, я хочу, чтобы позиция сверху экрана не была сверху uiview, поэтому что-то вроде этого x: 0, у: 230, вес: 320, у: 50