NSDate * nowDate = [NSDate new]; NSCalendar *calendar = [NSCalendar currentCalendar]; NSUInteger unitFlags = NSYearCalendarUnit | NSMonthCalendarUnit Read More
#import <QuartzCore/QuartzCore.h> QuartzCore.framework [self.commentsCell.layer setMasksToBounds:YES]; self.commentsCell.layer.cornerRadius=5; Read More
百度了很多,但大多的解决办法就是 更改BundleID,的确管用,,但是有的情况下,你需要跟同事合作,公用同一个BundleID, 我是这样处理的:工具栏中打开Window—project删除所有工程,去钥匙串中删掉开发者证书,然后去开发者账号那里download All一下就好了 Read More
block的理解 Read More
原理图如下:【需要注意的是,灰度View与中间的小View是并列的关系,否则,带透明度的灰度图就会影响小View的透明度】 - (void)show{ UIWindow *win = [[UIApplication sharedApplication] keyWindow]; UIView *top Read More
Xib文件需要注意的地方(原创) Read More
http://www.cnblogs.com/Erma-king/p/5340088.html Read More
// 导航条 变透明,去掉黑线 [[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault Read More
MVC Model Read More
http://blog.csdn.net/hanhailong726188/article/details/42708851 今天在开发设置状态栏颜色的时候,遇到一个问题,IOS默认自带的状态栏颜色是黑色的,我想设置成白色的,有人说在AppDelegate.m下设置[[UIApplication s Read More