随笔分类 - Ios
摘要:ld: library not found for lstdc++.6 删除 libstdc++ "stackoverflow" Building with libstdc++ was deprecated with Xcode 8 and is not supported in Xcode 10
阅读全文
摘要:macos 命令行安装 ipa 苹果发神经后itunes已经无法在安装app了,如果有知道的兄弟可以告诉我啊 "ideviceinstaller" 使用这个开源项目可以在macos下安装app 安装后, 运行 出现 这个,可以看看这个 "issues" 我使用下面这个方式成功解决
阅读全文
摘要:生成pem文件 打开Keychain Access 导出推送证书和私钥 推送证书 cert.p12 私钥 key.p12 导出.pem文件 转换推送证书 转换私钥 合并推送证书和私钥 测试生成的pem 输出大体如下说明成功 使用golang的推送库 ap
阅读全文
摘要:官网文档Returns a range from a textual representation.DeclarationSWIFTfuncNSRangeFromString(_aString:String) ->NSRangeOBJECTIVE-CNSRangeNSRangeFromString(...
阅读全文
摘要:有时候,我们的Controler中包含有另一个controler view的view时,可以使用这种方式。https://developer.apple.com/library/ios/featuredarticles/ViewControllerPGforiPhoneOS/Implementing...
阅读全文
摘要:https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/ImplementingView/ImplementingView.html实现UIView的- (CGSize)...
阅读全文
摘要:参考资料https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/AutolayoutPG/VisualFormatLanguage/VisualFormatLanguage.html#//apple_ref/doc/uid/TP40010853-CH3https://developer.apple.com/library/ios/technotes/tn2154/_index.htmlhttps://developer.apple.com/library/mac/documentation/
阅读全文
摘要:解决libzbar.a' for architecture armv7 的问题下载最新的zbar源码http://sourceforge.net/p/zbar/code/ci/default/tree/更改scheme的设置更改生成设定然后 command+B进行生成代码copy 生成的文件去替换你项目中得文件即可解决错误 missing required architecture i386 in file ZBarSDK/libzbar.a事情到了这一步,俺怀着激动的心情去打包啊,成功了啊,问题是我要再我的模拟器里面跑啊,大家都知道啊,Iphone是Arm的architecture啊
阅读全文
摘要:很久没有更新博客了,所以分享一个。
阅读全文
摘要:1 #import 2 #import "StringUtils.h" 3 4 @interface ImageManager : NSObject 5 { 6 NSMutableDictionary *_imageDict; 7 NSMutableArray *_imageArr; 8 } 9 10 @property(nonatomic, strong) NSString *httpUrl;11 @property(nonatomic, strong) NSMutableDictionary *imageDict;12 13 @property(nonatomic, .
阅读全文
摘要:、1 //图片列表2 NSMutableArray *pictureList;3 //分组列表4 NSMutableArray *indexArr; 1 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 2 { 3 static NSString *picWallItemView = @"picWallItemView"; 4 UITableViewCell *cell = [self.tableView dequeue
阅读全文