Hi Guys, I just try to make, my first, a simple app for the ipad. It should be a small (80 pages) magazine where the user can swipe through the pages in landscape and portrait mode.
At the moment I build a scrollableView for landscape and one for portrait. I just hide the mode that is not active. In the beginning the scrollableViews have just 3 views in it and I load I add new views when the user swipes to the next page.
To show the user the correct page when he changes the orientation I tried to use scrollToView() at the scrollableView which is hidden. So "in the background" each scrollableView should show the right page.
At the moment my app crashes sometimes and I´m really not sure if this is a good way to make such app.
How would you build such app?
My code: http://pastebin.com/3XcYwW8G
Greetings,
ToM
I use iOS 4.2SDK and Titanium 1.2.2