screen.orientation not working
Hi,
 
 
 I tried:
 
 
  
   - screen.orientation.unlock();
 
   - screen.orientation.lock('landscape');
 
  
  
 
 
 but:
 
 
  - alert("Orientation type is " + screen.orientation.type);
 
 
 
 
 is working and showing the orientation type so it's installed succesfully but then why it's not changing the orientation of the device?
 
 Thanks,
 Jassim