09 2014 档案
摘要:原因:同一个bundle identifier不能重复在两个app中使用;解决:卸载掉手机上的另一个app即可重新安装。
阅读全文
摘要:1、开发者证书(分为开发和发布两种,类型为ios Development,ios Distribution);2、appID,这是每一个应用的独立标识,在设置项中可以配置该应用的权限,比如是否用到了PassBook、GameCenter、以及push服务,如果选中了push服务,那么就可以创建推送证...
阅读全文
摘要:
阅读全文
摘要:1.打开itunes connect登陆之后,选择Manage Your Apps,再选Add New App;2.填写项目相关信息,不知道怎么填的点击问号查看;Bundle ID Suffix需要和发布证书中所填的后缀一致,否则在上传项目时会出错,需要重新打包;3.上传app截图,3.5和4吋两种...
阅读全文
摘要:报错如图: 解决:用info.plist中的bundle identifier生成发布证书(Distribution),如图:
阅读全文
摘要:选择Provisioning profiles-Development-添加,如图:
阅读全文
摘要:重写父类的init方法时,将init后面的第一个字母写成了小写,在这个方法里面又调用父类的初始化方法self = [super init];时会报错error:Cannot assign to 'self' outside of a method in the init family原因:只能在in...
阅读全文
摘要:#pragma mark - 创建引导页+ (id)initWithFrame:(CGRect)frame{ return [[self alloc] initWithFrame:frame];}//- (id)initWithFrame:(CGRect)frame{ self = [s...
阅读全文
摘要:#pragma mark - 创建旋转动画提示- (CustomView *)initIndicatorViewWithTitle:(NSString *)title{ self = [super initWithFrame:[[UIScreen mainScreen] bounds]]; ...
阅读全文
摘要:#pragma mark - 将图片转为二进制+ (NSString *)image2binaryWithImage:(UIImage *)image imageName:(NSString *)imgName{ //获取图片的二进制数据 NSData *imageData = UIIm...
阅读全文
摘要:#pragma mark - 获取按尺寸压缩过的新图片+ (UIImage *)getNewImageWithImage:(UIImage *)image size:(CGFloat)tempSize{ //获取图片的宽高 CGSize imageSize = image.size; ...
阅读全文
摘要:从设备图库返回到scrollView时,scrollView会下移20像素,解决办法:self.edgesForExtendedLayout = UIRectEdgeNone; 如果加入此代码导致其他控件无法点击,可设置为其他值。tableView下移好像也可以用此方法。
阅读全文
摘要:UIActionSheet *actionSheet = [[UIActionSheet alloc]initWithTitle:@"选择图片" delegate:(self) cancelButtonTitle:@"取消" destructiveButtonTitle:nil otherB...
阅读全文
摘要:1.在General中App Icons 使用Source--> AppIcon2.在Images.xcassets 中依次添加对应尺寸的icon.3.选中AppIcon ,在右侧第三个按钮下,勾选 iOS icon is pre-rendered.4.编译,运行,icon高光效果就没有了.如果还存...
阅读全文