【发布时间】:2012-01-30 10:30:33
【问题描述】:
我愿意让 ImageView 出现在 MapView 上方,因为它包含两个按钮,但是,无论我做什么,MapView 仍然隐藏 UIImageView:
【问题讨论】:
-
一些代码或 IB 视图层次结构怎么样?
标签: ios uiimageview xcode4.2
我愿意让 ImageView 出现在 MapView 上方,因为它包含两个按钮,但是,无论我做什么,MapView 仍然隐藏 UIImageView:
【问题讨论】:
标签: ios uiimageview xcode4.2
当您查看接口文件时,左侧有一列显示与您关联的对象 .xib。最底部的对象将是所有其他对象之前的对象
【讨论】:
bring to front 之类的选项,但在那个版本中,从一开始就不明显了?
你试过了吗?:
[someView bringSubviewToFront:myImageView];
在您将地图视图添加到主视图后放置它。
【讨论】:
[self.view bringSubviewToFront:(UIImageView)image.png];??