Thanks CMEZAK for a great solution.
I just used the the function refined by itayneeman ... it works fine ... however when I try to load the image from Camera ... and when the application is in Release Mode ... it crashes on the device with the following warning ... [that usually comes when I use the function even in Simulator Debug mode]
Code:
-[UIWindow endDisablingInterfaceAutorotation] called on <UIWindow:
0xf19f70; frame = (0 0; 320 480); opaque = NO; autoresize = RM+BM;
layer = <CALayer: 0xf1acb0>> without matching
-beginDisablingInterfaceAutorotation. Ignoring.
and I assume ... this is the main problem, that is causing me issues ... can any one shed some light on this ...
need help urgently ... appreciate a quick response ...
Regards,
SaL