At last… combining the two approaches worked.

I had a problem originally getting things to work with a split screen view on the iPad. The main reason was due to the fact that I was porting over code and didn’t quite know yet how it would all work with the new sizes. I had massive problems getting the recipe view to work properly in the main display of the split screen controller. Eventually I gave up on trying to do it using interface builder and coding the view by hand using setFrame to place my components in the correct locations.

This worked fine and allowed steady progress at the expense of having the views orientate and resize properly. Now I have the code working I’ve found that cutting out the manual stuff and going back redoing it in interface builder means it works properly all the way. Originally I was just greeted with a black screen. In the future I think I’ll bear this process in mind as it allowed me to continue working to flesh out the iPad version and then, eventually, to quickly go back and do it properly in IB.

This entry was posted in Programming. Bookmark the permalink.