Port iPad Apps to Mac with Xcode 11 Effortlessly

by Jun 25, 2019#iOS, #News

Have you ever said: “this iPad App would be great on the Mac”?

Before Xcode 11, the only way to accomplish that was to have two separate code bases, one for iPad, and one for Mac. This came with its entire set of issues to maintain, and expand your app.

Now, you can bring your existing iPad App to the Mac, sharing the same project and source code delivering your app to an audience of over 100,000,000 Mac users.

First you will need to make sure your app is a good candidate. If your app’s essential features require iPad capabilities like gyroscope, accelerometer or rear camera, iOS frameworks like HealthKit or ARKit it might not be suited for the Mac.

To get started, all you need to do is select Mac in the deployment info section of your project (this will only work if you have support for iPad).

According to Apple’s Developer documentation :“The Mac version of your iPad app supports many system features found in macOS without requiring any effort from you…”. These features include:

  • A default menu bar for your app.
  • Support for trackpad, mouse, and keyboard input.
  • Support for window resizing and full-screen display.
  • Mac-style scroll bars.
  • Copy-and-paste support.
  • Drag-and-drop support.
  • Support for system Touch Bar controls.

In addition, many systems provide UI elements automatically convert from iOS to macOS for example, you get macOS-appropriate versions of the following:

  • Split view
  • File Browser
  • Activity view
  • Form sheet
  • Contextual actions

If you want lo learn more about this feature, check out the following links:

https://developer.apple.com/videos/play/wwdc2019/205/

https://developer.apple.com/design/human-interface-guidelines/ios/overview/ipad-apps-for-mac/

Related Blog Posts

GET IN TOUCH!

FIND US!

TEXAS - HEADQUARTERS

1201 West 15th Street Suite 200
Plano, Texas 75075
View in Google Maps
+1-214-418-3347
sales@krasamo.com

MEXICO

Sierra Morena 409, Segundo Piso.
Fracc. Bosques Del Prado Norte.
C.P. 20127 Aguascalientes, Aguascalientes.
View in Google Maps
+1-469-500-7644

PANAMA

Calle 50 Ph Torre Global Bank, Piso 17 #1702
Ciudad de Panama, Panama 0830
View in Google Maps
+507-6500-6840

Copyright © 2019 Krasamo Inc. All rights reserved. All Trademarks are the property of their respective owners.