I would add a UITableView under an MKMapView, and make it resizable as the orientation of the device changes. Also, the table should hide/show as per user request. I succeed in adding the subview, either in IB and in the code, but the problem is that when I change the orienation from portrait to landscape, the table is not properly rendered.
您可以设计另一个xib文件并将其用于横向模式,也可以使用autoresizingMask。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.