开发者

how to change orientation of a particular portion of a View iPhone

I would like to change orientation of l开发者_如何学Pythonower half of my view similar to stock app in which when we change the orientation of device only the Graph view of the same rotates. Please let me know how I would achieve the same functionality.


You can apply a CAAffineTransform to any view independently causing it to rotate to any arbitrary degree regardless of the device orientation.

However, system views such a the keyboard appear rotated with the device and not the view i.e. if you rotate a text field, the keyboard will appear in the device orientation not the text fields transformed orientation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜