Skip to content
Martin McClean edited this page Feb 18, 2016 · 33 revisions

FAQ

Here are answers to some of the most common questions we receive. This FAQ is a work in progress and will continue to be updated and expanded.

Application Layout: Automatic Magnification Defaults

When you create a Project Islandwood application, it sets your default display resolution to match commonly used phone devices. Your application uses a display resolution of 320x480 px (points) with a scale factor of 1.0.

What has changed? In the latest release of the Project Islandwood SDK, we have made some changes to automatic magnification. We will no longer automatically magnify the scale factor to make the application fit in the window. As a result, your application may appear smaller on screen or be displayed in a variable-sized graphical frame. We have made this change to increase compatibility with applications that aren’t written to work with arbitrary scale factors.

Can I re-enable automatic magnification? Project Islandwood is designed to be configurable. If you prefer, you can re-enable automatic magnification as the default. Simply place the following code in your AppDelegate.m file.

App delegate ifdef WINOBJC @implementation UIApplication (UIApplicationInitialStartupMode) // WinObjC will call this method very early on during startup to // configure the application display resolution

  • (void)setStartupDisplayMode:(WOCDisplayMode*)mode { mode.autoMagnification = YES; } @end endif

How do I enable syntax highlighting for Objective-C in Visual Studio?

To enable Objective-C syntax highlighting in Visual Studio, navigate to bin/ and double click objc-syntax-highlighting.

How can I use a VM on a Mac to develop a single codebase simultaneously in Visual Studio and Xcode?

If you're using the iOS bridge on a Virtual Machine on a Mac, you can easily set up a cross-platform development environment by storing your codebase in a shared folder that is accessible from both the Windows 10 and OS X side. With this approach, you can run Xcode and Visual Studio side by side. To get started, download an evaluation virtual machine for your preferred virtualization environment from our website.

Note: By default, Visual Studio will not register an app with the system if its files are on a network drive, and since folders shared with the Mac host machine in a virtual Windows 10 environment are treated as network drives, we have to change a few settings to get Visual Studio to build and run.

The easiest way to do this is to override the project's output directory. Right click on the project and change the output directory to $(Temp)\$(MSBuildProjectName)\bin\$(Configuration), where Temp is an environment variable pointing to your Temp directory.

What about accessibility?

At present, the Windows Bridge for iOS is still in development and does not yet support all the accessibility features your app might use in iOS. Accessibility is extremely important and we are working hard to ensure that future releases include this vital support. We appreciate your patience.