[置顶] MK

摘要: MK 预见未来 phone:15168315985 email :971173936@qq.com 阅读全文

posted @ 2022-04-08 00:44 夜夜清雨 阅读(70) 评论(0) 推荐(0) 编辑

2022年8月19日

毎时毎刻

摘要: 阅读全文

posted @ 2022-08-19 17:40 夜夜清雨 阅读(5) 评论(0) 推荐(0) 编辑

2016年12月1日

不显示UITableView底部多余的分割线

摘要: self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero]; 阅读全文

posted @ 2016-12-01 14:41 夜夜清雨 阅读(105) 评论(0) 推荐(0) 编辑

2016年11月15日

iOS获取webview高度

摘要: 1 int webHeight = [[webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.scrollHeight"] intValue]; 阅读全文

posted @ 2016-11-15 11:38 夜夜清雨 阅读(99) 评论(0) 推荐(0) 编辑

2016年9月1日

iOS App Transport Security

摘要: 网络请求提示:Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configure 阅读全文

posted @ 2016-09-01 11:04 夜夜清雨 阅读(121) 评论(0) 推荐(0) 编辑

2016年8月30日

UIButton 按钮文字左对齐

摘要: 直接使用 btn.titleLabel.textAlignment = NSTextAlignmentLeft; 是没有作用的 添加偏移量是为了不让文字紧贴按钮边缘 更美观一些 也可以给文字加空格,比如 @"这是一个按钮" 改成 @" 这是一个按钮"也可以实现 阅读全文

posted @ 2016-08-30 10:48 夜夜清雨 阅读(520) 评论(0) 推荐(0) 编辑

2016年8月11日

iOS NSMutableArray替换某个元素

摘要: 结果 MyArr = @[a4,a2,a3]; 阅读全文

posted @ 2016-08-11 17:49 夜夜清雨 阅读(1630) 评论(0) 推荐(0) 编辑

2016年8月5日

iOS 返回到指定的ViewController

摘要: for (UIViewController *vc in self.navigationController.viewControllers) { if ([vc isKindOfClass:[MyViewController class]]) { [self.navigationController popToViewController:vc animated:Y... 阅读全文

posted @ 2016-08-05 11:05 夜夜清雨 阅读(211) 评论(0) 推荐(0) 编辑

iOS创建UUID

摘要: - (NSString *)getUUID { CFUUIDRef uuidObj = CFUUIDCreate(nil); //create a new UUID NSString * uuidString = (__bridge_transfer NSString *)CFUUIDCreateString(nil, uuidObj); CFRele... 阅读全文

posted @ 2016-08-05 10:55 夜夜清雨 阅读(288) 评论(0) 推荐(0) 编辑

iOS scrollView/tableView滚动到底部

摘要: //项目要求tableView滚动到底部就自动加载下一页,UITableView继承自UIScrollView 所以可以在//scrollViewDidEndDecelerating这个方法中进行判断操作 1 -(void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{ 2 if (scrollView == myScroll... 阅读全文

posted @ 2016-08-05 10:46 夜夜清雨 阅读(1063) 评论(0) 推荐(0) 编辑

导航