
1伊佃、設(shè)置UILabel行間距 // 或者使用xib恩静,看下gif圖Untitled.gif 2焕毫、當使用-performSelector:withObject:withObjec...
1.修改tabbar頂部線條 CGRect rect = CGRectMake(0, 0, self.view.frame.size.width, self.view.fra...
首先繼承UINavigationController的類里面進行書寫 ///重寫push方法 push的控制器隱藏tabbar - (void)pushViewControl...
[[UIDevice currentDevice]beginGeneratingDeviceOrientationNotifications]; //建立通知中心 [[NS...
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainM...
//轉(zhuǎn)換成時分秒 - (NSString *)timeFormatted:(int)totalSeconds { int seconds = totalSeconds % 6...
/** * @method * * @brief 根據(jù)路徑獲取視頻時長和大小 * @param path 視頻路徑 * @return 字典 @"size"--文件...
NSMutableAttributedString常見的屬性: NSFontAttributeName 字體 NSForegroundColorAttributeName 文...
首先 我們定義個屬性 @property (nonatomic, strong)UIImageView *contentLineImageView; 然后寫一個方法: - (...