像 iOS 6 一样的 iOS 7 UITableViewController 导航

标签 ios cocoa-touch user-interface ios7 uinavigationbar

在 iOS 6 中,我的 UITableViewController 中的导航如下所示:

enter image description here

在 iOS 7 中:

enter image description here

如何模仿iOS风格?我会使用图像,但每个单元格的文本长度不同。

最佳答案

您应该使用带有可调整大小的大写字母的图像。这样,您的图片会在中间拉伸(stretch)并适合任何文本。

关于像 iOS 6 一样的 iOS 7 UITableViewController 导航,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19987435/

相关文章:

android - 如何在Android中处理RecyclerView.Adapter的SELECTION?

iphone - 选择图像的一部分(剪裁)

iphone - MKMapView,animateDrop?

user-interface - 创建 Vim 风格的命令行界面

qt gui 更新元素不适用于 Golang

ios - "This application is modifying the autolayout engine from a background thread"

ios - 需要有关 Parse 中 IAP 类设计的建议

iphone - 向我解释不同 iOS 设备中的自动调整大小问题?

iphone - 我的 UIImageView 中的大图像导致我的 UINavigationController 堆栈中的较低 View 释放......我该如何解决这个问题?

C++ GUI 应用程序 : Starting a child process in WndProc ( no MFC )