UITableView转换属性在iOS 8中不起作用 [英] UITableView transform property not working in iOS 8

查看:53
本文介绍了UITableView转换属性在iOS 8中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序中有UITableView

我正在使用UITableView

当我在iOS 7

tblFilter.transform=CGAffineTransformMakeRotation(-M_PI_2);

它正常工作,但是当我在iOS 8中运行同一个项目时,它不起作用,这是一个奇怪的错误:(

it works properly but when i run same project in iOS 8 it doesn't work it's strange error :(

How can i solve this ??

请先提供帮助和感谢.

推荐答案

您应该在viewWillAppear中进行尝试,与UI相关的内容已准备好在此事件中显示,因此它将起作用.

You should try this in viewWillAppear, UI related things are ready to be displayed in this event so it will work.

这篇关于UITableView转换属性在iOS 8中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆