获取控件的隐藏属性
引入 #import<objc/runtime.h> 头文件
unsigned int count = 0;
Ivar * ivars = class_copyIvarList([UIButton class], &count);
for (int i = 0; i<count; i++)
{
Ivar ivar = ivars[i];
SLog(@"UIButton--->%s------%s", ivar_getName(ivar),ivar_getTypeEncoding(ivar));
}