#import <MediaPlayer/MediaPlayer.h> MPMusicPlayerController *musicPlayer; musicPlaye…
第一、UIButton的定义 UIButton *button=[[UIButton buttonWithType:(…
#pragma mark 添加本地通知 -(void)addLocalNotification{ //定义本地通知对象 UILocalNotification *notificat…
述一下实现过程: • 首先创建一个项目,名字叫:ipad_webwiew &nb…
+ (NSString *)voiceMessageConentWithEntity:(VMessageEntity *)entity{ NSLog(@"entity.v…
//自适应文字的高度 - (void)webViewDidFinishLoad:(UIWebView *)webView { NSString *height_str= [webV…
#pragma mark - 颜色转换 IOS中十六进制的颜色转换为UIColor + (UIColor *) colorWithHexString: (NSString *)co…
通常用于删除缓存的时,计算缓存大小 //单个文件的大小 - (long long) fileSizeAtPath:(NSString*) filePath{ NSFileManag…
NSDateComponents *_comps = [[NSDateComponents alloc] init]; [_comps setDay:23]; [_comps se…
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the vi…
UILocalNotification *notification=[[UILocalNotification alloc] init]; if (notification!=ni…
//好吧 也是刚看到的 涨之势啊 修改info.plist的Localization native development region 的这个属性改为China 拍照界面就能变成…