![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
文章平均质量分 70
Lovely_Summer
强颜欢笑的iOS工程师
展开
-
iOS中NSString类型数据保留两位小数
NSString类型数据保留两位小数写法: NSString *text = [NSString stringWithFormat:@"%@",cashBalance]; CGFloat floatValues = [text floatValue]; NSString *str = [NSString stringWithFormat:@"%.2f",floatValu原创 2016-07-26 14:48:02 · 5596 阅读 · 0 评论 -
iOS中上线所需图片尺寸
先说下Xcode中所需要使用的图片尺寸(AppIcon、LaunchImage),我现在使用的Xcode版本是7.3.1。 1.AppIcon 中所需图片尺寸: iPhone Spotlight - iOS5,6 Setting - iOS5-9 29pt 29X29@1x 58X58@原创 2016-07-26 15:13:46 · 4854 阅读 · 0 评论