04 2016 档案

摘要:1,这种方法,拨打完电话回不到原来的应用,会停留在通讯录里,而且是直接拨打,不弹出提示 1 NSMutableString * str=[[NSMutableString alloc] initWithFormat:@"tel:%@",@"186xxxx6979"]; 2 // NSLog(@"st 阅读全文
posted @ 2016-04-26 15:58 optt 阅读(242) 评论(0) 推荐(0)
摘要:使用UIBezierPath。下面给出一段示例代码。 阅读全文
posted @ 2016-04-25 13:49 optt 阅读(854) 评论(0) 推荐(0)
摘要:UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect]; /** * 设置frame只能控制按钮的大小 */ btn.frame= CGRectMake(0, 0, 40, 44); [btn addTarget:self 阅读全文
posted @ 2016-04-23 11:48 optt 阅读(1716) 评论(0) 推荐(0)
摘要:UINavigationController先pop再push,push操作将无效 解决方案是: 1. 从self.navigationController.viewControllers中拿出需要保留的View Controller放到一个数组中 2. 向数组中添加需要push的View Cont 阅读全文
posted @ 2016-04-21 15:01 optt 阅读(509) 评论(0) 推荐(0)
摘要:(继承一个cell子类) 阅读全文
posted @ 2016-04-08 19:01 optt 阅读(328) 评论(0) 推荐(0)
摘要:附图: 阅读全文
posted @ 2016-04-08 15:24 optt 阅读(293) 评论(0) 推荐(0)