Follow

Controlling Target Devices

Pugpig supports both the iPhone and the iPad. You can choose which devices to support in the usual way, by changing the Devices option in your application target.



You’ll also need to update the supported orientations in your view controller. Generally, you’ll choose landscape or portrait:

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
  return YES;
  // portrait - return UIInterfaceOrientationIsPortrait(interfaceOrientation);
  // landscape - return UIInterfaceOrientationIsLandscape(interfaceOrientation);
}
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk