代码改变世界

阅读排行榜

IOS App发布问题:code signing is required for product type "Application" in SDK 'iOS 9.2'

2016-01-15 15:17 by 一树一菩提, 28953 阅读, 收藏,
摘要: 问题:code signing is required for product type "Application" in SDK 'iOS 9.2' 解决: 如果从ituns connect上download的profile,双击后project下的code signing还是没有profile, 阅读全文

IOS-问题:could not build module 'UIKit'

2015-06-23 16:17 by 一树一菩提, 11661 阅读, 收藏,
摘要: 问题:我把UIKIT. framwork添加到新的framework下了,Xcode还是报错:could not build module 'UIKit'?解决:修改prefix header ,如图:什么是Framework?Framework是资源的集合,将静态库和其头文件包含到一个结构中,让X... 阅读全文

IOS UIButton(UIEdgeInsets)/设置图片和文字上下垂直居中对齐

2015-10-14 09:25 by 一树一菩提, 6964 阅读, 收藏,
摘要: UIEdgeInsetstypedef struct UIEdgeInsets { CGFloat top, left, bottom, right; // specify amount to inset (positive) for each of the edges. values ca... 阅读全文

IOS willMoveToParentViewController和didMoveToParentViewController的使用

2015-11-06 11:15 by 一树一菩提, 4567 阅读, 收藏,
摘要: 在iOS 5.0及以后,iOS为UIViewController类添加了新的属性和方法:@property(nonatomic,readonly)NSArray*childViewControllers-(void)addChildViewController:(UIViewController*)... 阅读全文

IOS UIBarButtonItem 位置偏移的问题

2015-10-11 13:03 by 一树一菩提, 3853 阅读, 收藏,
摘要: 如题,解决这个问题有多重方法。可以重写UINavigationItem 的setRightBarButtonItem和setLeftBarButtonItem函数,调整button的位置,也可以创建一个UIBarButtonSystemItemFixedSpace 类型的UIBarButtonIte... 阅读全文
1 2 3 4 5 ··· 16 下一页