transform settings adapt for iOS8

In iOS8 the UIScreen's bounds now interface-oriented, more info see https://developer.apple.com/videos/wwdc/2014/#214
So I create this pull request to resolve this problem.