iOS 字体斜体

2015-08-13 0 847
iOS 字体斜体
 //里面的参数自己修改吧
CGAffineTransform matrix =  CGAffineTransformMake(1, 0, tanf(15 * (CGFloat)M_PI / 180), 1, 0, 0);
    UIFontDescriptor *desc = [ UIFontDescriptor fontDescriptorWithName :[ UIFont boldSystemFontOfSize:20 ]. fontName matrix :matrix];
    UIFont *font = [ UIFont fontWithDescriptor :desc size :20];

遇见资源网 objective-c iOS 字体斜体 http://www.ox520.com/18036.html

上一篇: 键盘消失
常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务