Tuesday, February 8, 2011

Universal app sample code

On pages 133-138, I provided an example of a universal app — a video player app that runs full-screen on both small iOS (iPhone and iPod touch) and large (iPad) devices, from the same app installation. But because this example uses NKVideoPlayer, much of the heavylifting is done for us already because in this case the native iOS video player interface automatically resizes to the device for us.

So what about when we are using an interface element that has a size specification, such as NKTableView?

Notes

  1. iosapps posted this