fix-iOS8-orientation-handling

fix-iOS8-orientation-handling when compile with SDK earlier than IOS8.

In iOS 8 and later, a screen’s bounds property takes the interface orientation of the screen into account.But it only works  when you compile with IOS8 SDK,this commit fixed this issue.