How i can use UI on simulator ?

Hello everyone,

I was traing to create textbox and other objects just to see how its works an learn more about then.
But when i try the code bellow

 local textBox = native.newTextBox( 15, 70, 280, 70 )  
 textBox.text = "XXXXXXXXXXXX"  

The error bellow happens

 WARNING: Native text fields are not currently supported in the simulator. Please build for device.  

The question is i cant use UI at simulator ?
if its possible please let me know.
[import]uid: 74146 topic_id: 21317 reply_id: 321317[/import]

Try and run it in the Xcode simulator instead. [import]uid: 7710 topic_id: 21317 reply_id: 84457[/import]

I’m using corona with windows…i can’t run xcode simulator…i have to use corona sdk simulator…
I don’t know why it dosen’t work on simulator…
If someone have created app non games with corona let me know how its works

thanks [import]uid: 74146 topic_id: 21317 reply_id: 84467[/import]

Unfortunately many native UI elements aren’t available in the Windows Simulator at this time. I know that the Mac Simulator does support them in the latest daily builds, so I’m sure it will come to Windows eventually. [import]uid: 69531 topic_id: 21317 reply_id: 84541[/import]

Some are, native.newTextField is for instance.

But your right, for the majority you will need to either build for device or xcode simulator [import]uid: 84637 topic_id: 21317 reply_id: 84553[/import]