技术的乐趣在于分享,欢迎多多交流,多多沟通。
全部博文(877)
发布时间:2015-10-25 15:34:28
定义一个新的CustomView继承自UIView,在Xib文件的View里面设置其Custom Class为 CustomView.m 然后 初始化 CustomView *customView = [[[NSBundle mainBundle] loadNibNamed:@"CustomView" owner:self options:nil] lastObject];// CustomView *customView = [CustomView sh.........【阅读全文】
发布时间:2015-10-25 12:04:51
http://www.cfanz.cn/index.php?c=article&a=read&id=231611 Attempt to present on whose view is not in the window hierarchy! 在开发的时候,有时候会遇到 1.ios attempt to present whose view is not in the window hierarchy 2.Warning: Attempt to presen.........【阅读全文】
发布时间:2015-10-20 18:30:57
convertPoint的详细测试http://gypgyp.iteye.com/blog/1552067convertPoint本身并不难理解,但是下面的这些特殊情况一定要注意,经过测试,总结如下: UIView* fromView = [[UIView alloc] init]; [fromView convertPoint:aPoint toView:toView]; 就是将fromView坐标系中的一个点转换为toView中的.........【阅读全文】
发布时间:2015-10-20 18:27:57
http://blog.csdn.net/ouy_huan/article/details/305069251,这种方法,拨打完电话回不到原来的应用,会停留在通讯录里,而且是直接拨打,不弹出提示NSMutableString * str=[[NSMutableString alloc] initWithFormat:@"tel:%@",@"186xxxx6979"]; //  .........【阅读全文】