Page 1 of 1

few questions about iPhone development

PostPosted: Jan 30, 2010 @ 10:26am
by gilad_no
- How can I get the current ViewController of the active window? I want to allow the user to select a picture from his library and I want to use a modal controller - thus I need to know my current active controller. Will GetWindowHandle() return me a pointer to my controller?

- Does the internal HTTP stack support HTTPS? I need to issue some HTTP calls to secure sites. Will it work? Can I add OpenSSL on-top of the current implementation of the HTTP stack?

- Is there a way to get the current UUID of the device? I could not find anything in ClassEDevice.

Thanks...

PostPosted: Feb 1, 2010 @ 9:45am
by Namal
Hey,

I'm usually asking questions here, so I'll try to answer some for a change :
+ (UIWindow *)GetWindowHandle() will give you the Current View, which you can use in native Obj-C calls
+ I don't think https is supported by Edge's network stack
+ ClassERegister::GetRegistrationId will get you the UDID on (real) iPhone

Hope this helps, please amend if I am wrong,

Phil

Perfect

PostPosted: Feb 1, 2010 @ 9:49am
by gilad_no
I will try your solutions - thanks :)