Hi,
I'm quite confused with the whole animation stuff in iPhone SDK. I tried to study throught the SDK documentation, this website or tried googling it out without success. I'm unable to get my scenario work.
- I have single XIB file, with tab bar and a 4 tabs.
- In a special event i want to switch from one page to another "in code", so I call eg:
[tabController selectedIndex: 0]
. - I need this transition to be animated. Is there a way?
- If user switches tabs manually, no animated transitions are needed
Also I have one subquestion:
- In one of the tabs I have a UITableView with set of items. When user clicks any of these items, another set of items are beign shown (sort of hierarchy browser)
- I tried to animate this transition using
-deleteRowsAtIndexPaths:withRowAnimation:
and-insertRowsAtIndexPaths:withRowAnimation:
, but without luck. - Desired transition is shifting the old items set to the left side and the new items from the right side.
This is first time of my iPhone development, when I got lost even with all the forums and documentation. :)
Thanks in advance to anyone trying to help me!