03 2014 档案
摘要:@interface UIView (RectCorner)@end@implementation UIView (RectCorner)- (void)setCornerOnTop { UIBezierPath *maskPath; maskPath = [UIBezierPath b...
阅读全文
摘要:获取中文字符串的拼音- (NSString *)phonetic { NSMutableString *source = [self mutableCopy]; CFStringTransform((CFMutableStringRef)source, NULL, kCFStringTr...
阅读全文
摘要:BOOL bAudioInputAvailable = NO; AVAudioSession *audioSession = [AVAudioSession sharedInstance]; if ([[UIDevice currentDevice].systemVersion flo...
阅读全文
摘要:lineBreakMode:设置标签文字过长时的显示方式。 label.lineBreakMode = NSLineBreakByCharWrapping; //以字符为显示单位显示,后面部分省略不显示。 label.lineBreakMode = NSLineBreakByClipping; /...
阅读全文

浙公网安备 33010602011771号