关于导航栏navigationbaritem 以及工具栏tabbaritem的属性总结

##tabbaritem navigationbaritem 设置属性

* NSFontAttributeName;                  //字体,value是UIFont对象

* NSParagraphStyleAttributeName;        //绘图的风格(居中,换行模式,间距等诸多风格),value是NSParagraphStyle对象

* NSForegroundColorAttributeName;      // 文字颜色,value是UIFont对象

* NSBackgroundColorAttributeName;      // 背景色,value是UIFont

* NSLigatureAttributeName;              //  字符连体,value是NSNumber

* NSKernAttributeName;                  // 字符间隔

* NSStrikethroughStyleAttributeName;    //删除线,value是NSNumber

* NSUnderlineStyleAttributeName;        //下划线,value是NSNumber

* NSStrokeColorAttributeName;          //描绘边颜色,value是UIColor

* NSStrokeWidthAttributeName;          //描边宽度,value是NSNumber

* NSShadowAttributeName;                //阴影,value是NSShadow对象

* NSTextEffectAttributeName;            //文字效果,value是NSString

* NSAttachmentAttributeName;            //附属,value是NSTextAttachment 对象

* NSLinkAttributeName;                  //链接,value是* NSURL or NSString

* NSBaselineOffsetAttributeName;        //基础偏移量,value是NSNumber对象

* NSUnderlineColorAttributeName;        //下划线颜色,value是UIColor对象

* NSStrikethroughColorAttributeName;    //删除线颜色,value是UIColor

* NSObliquenessAttributeName;          //字体倾斜

* NSExpansionAttributeName;            //字体扁平化

* NSVerticalGlyphFormAttributeName;    //垂直或者水平,value是 NSNumber,0表示水平,1垂直

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容