问个 alertview 按钮位置问题
我在UIalterView中添加了个 UITextView 用下面的代码对 确定跟取消按钮调位置
在模拟器上运行 效果正常 但在真机上按钮会给UITextView挡住 请问下要怎么修改 是否是IOS版本的问题?
for (UIView *Outlet in [alertView subviews]) {
if([Outlet isKindOfClass:[UIButton class]])
{
UIButton* button = (UIButton*)Outlet;
button.frame = CGRectMake(button.frame.origin.x, button.frame.origin.y+100,button.frame.size.width , button.frame.size.height);
}
}
在模拟器上运行 效果正常 但在真机上按钮会给UITextView挡住 请问下要怎么修改 是否是IOS版本的问题?
...全文


