Gadgetmac

View Original

iPhone SDK Tutorial: Rotation

In this iPhone SDK Tutorial from Gadgetmac we learn how to add Rotation features to your iPhone or iPad Application. Many Apps use different orientations, some are just portrait or landscape however many do both. In this tutorial we show you how to use all 3.

The code is extremely simple and we use the shouldAutorotateToInterfaceOrientation method.

I hope you find the tutorial useful and come back to Gadgetmac for more!