UIPopOver 标题和副标题
如何设置 popOverView 的副标题?
描述 : 这是我得到的:我能够设置标题。
这是我想要的:我想要 popOverView 上的标题和副标题。
我该怎么做?
问候 !!
How can I set a sub-title of my popOverView ?
Description :
Here is what I am getting : I am able to set the title.
Here is what I want :I want the title and a subtitle on my popOverView.
How can I do that ?
Regards !!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 IB 或以编程方式创建一个带有两个
UILabel
的UIView
,并将其设置为navigationItem
的titleView
。在弹出窗口中显示的UIViewController
中:Create a
UIView
with twoUILabel
s, either with IB or programmatically and set it to thetitleView
of thenavigationItem
. In theUIViewController
that you present in the popover: