开发者

[UITableView transform in x direction but in this direction table rows moving in all directions.]

I used transform property for UITableView but after completing this transform process tableview rows moving in all direction .Please solve this problem.

CGAffineTransform transfor开发者_开发知识库m = CGAffineTransformMakeRotation(-1.5707963); scrollingTable.transform = transform; scrollingTable.separatorColor = [UIColor clearColor];


If you talking about UITableview Orientation then you can implement following code in your viewcontroller class for orientation of viewcontroller work in only Landscape Left and Right.

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{
    return (interfaceOrientation == UIDeviceOrientationLandscapeLeft || interfaceOrientation == UIDeviceOrientationLandscapeRight) ;
}

If not so please explain your problem with something code or image.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜