04 2016 档案

摘要://Documents: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); //username md5 const char *cStr = [userNa 阅读全文
posted @ 2016-04-27 17:11 zhen_zhen 阅读(112) 评论(0) 推荐(0) 编辑
摘要://UIImage图片转成Base64字符串: UIImage *originImage = [UIImage imageNamed:@"originImage.png"]; NSData *data = UIImageJPEGRepresentation(originImage, 1.0f); N 阅读全文
posted @ 2016-04-27 13:08 zhen_zhen 阅读(95) 评论(0) 推荐(0) 编辑
摘要:dddd0427 SingleVip.h SingleVip.m 阅读全文
posted @ 2016-04-27 11:40 zhen_zhen 阅读(269) 评论(0) 推荐(0) 编辑
摘要:self.emojiMap = [NSArray arrayWithObjects: [NSArray arrayWithObjects:@"\u2196", @"\uE237", nil], [NSArray arrayWithObjects:@"\u2197", @"\uE236", nil], 阅读全文
posted @ 2016-04-27 11:24 zhen_zhen 阅读(710) 评论(0) 推荐(0) 编辑
摘要://添加边框和提示 CGRect frameRect = CGRectMake(20, 90, self.window.frame.size.width-40, self.window.frame.size.height-180); UIView *frameView = [[UIView allo 阅读全文
posted @ 2016-04-22 11:51 zhen_zhen 阅读(357) 评论(0) 推荐(0) 编辑
摘要:[self.view bringSubviewToFront:pickview]; - (void)removeFromSuperview; - (void)insertSubview:(UIView *)view atIndex:(NSInteger)index; - (void)exchange 阅读全文
posted @ 2016-04-19 10:32 zhen_zhen 阅读(142) 评论(0) 推荐(0) 编辑
摘要:UIView *bgRight=[[UIView alloc]initWithFrame:CGRectMake(SCREEN_WIDTH/2, 0, SCREEN_WIDTH/2, 35)]; bgRight.backgroundColor=[UIColor whiteColor]; [bgView 阅读全文
posted @ 2016-04-18 12:01 zhen_zhen 阅读(175) 评论(0) 推荐(0) 编辑
摘要:http://www.tuicool.com/articles/zQJ32yj 阅读全文
posted @ 2016-04-06 17:06 zhen_zhen 阅读(88) 评论(0) 推荐(0) 编辑
摘要:#import <UIKit/UIKit.h> @interface UITabBar (badge) - (void)showBadgeOnItemIndex:(int)index; //显示小红点 - (void)hideBadgeOnItemIndex:(int)index; //隐藏小红点 阅读全文
posted @ 2016-04-06 16:06 zhen_zhen 阅读(168) 评论(0) 推荐(0) 编辑
摘要:for (UIBarItem *item in self.tabBarController.tabBar.items) { [item setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys: [UIFont fontWit 阅读全文
posted @ 2016-04-06 16:05 zhen_zhen 阅读(98) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示