SGVAttributedNavigationBarTitle 1.0.0

SGVAttributedNavigationBarTitle 1.0.0

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
发布最后发布2014年12月

Alexander Gusev 维护。




启用属性字符串作为导航项目标题。应该分别通过将 UINavigationBar.sgv_attributedTitleEnabled 设置为 YES,对每个 UINavigationBar 实例启用。之后,所有将 UINavigationItem.sgv_attributedTitle 设置为 NSAttributedString 的导航项都将在其推入导航栏时显示相应的属性字符串。

涉及到一些运行时魔法。

使用方法

要运行示例项目,请克隆存储库,然后首先从 Example 目录中运行 pod install。您也应该能够通过以下方式看到这个操作的效果:

pod try SGVAttributedNavigationBarTitle

要求

iOS7+。一点勇气。

安装

作者

Alexander Gusev, [email protected]

许可证

SGVAttributedNavigationBarTitle 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。