0

I just downloaded Cordova for mac from https://github.com/apache/incubator-cordova-mac.

I haven't made any changes, so I just load it up in Xcode and hit run, but the first thing I would like to do is specify the window size. I'm not very conversant with xcode and can't find references to the window size, I can't find any nib files either.

How would I set the window size?

Edit I used the method described at How to set NSView size programmatically? in my contentView implementation file.

Community
  • 1
  • 1
Tarang
  • 75,157
  • 39
  • 215
  • 276

1 Answers1

-1

Cordova runs full screen, and depending on the size of the splash screens included in the project will scale to all respective devices.

If you want to embed Cordova in your application you have to look here: http://docs.phonegap.com/en/2.4.0/guide_cordova-webview_index.md.html#Embedding%20WebView

Vlad Stirbu
  • 1,732
  • 2
  • 16
  • 27