PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

few questions about iPhone development

- 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...
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
gilad_no · 01 Feb 2010, 08:49 UTC — Perfect
I will try your solutions - thanks :)