ios
Creator_Su
做過項目開發,帶過團隊,對於移動端的開發流程比較熟悉,項目的推廣和產品都熟悉
展开
-
很多开发者最近升级最新Xcode Cocoapods后就报错arm64
升级Xcode 12后就出现错误:The linked framework 'Pods_xxx.framework' is missing one or more architectures required by this target: arm64.在 Bulid Setting中的User-Defined下VALID_ARCHS添加x86_64原创 2021-03-06 16:51:32 · 763 阅读 · 0 评论 -
iOS打包 遇到的[x86_64, i386]问题解决方案iTunes Store Operation Failed ERROR ITMS-90087 && ERROR ITMS-90535
项目上架,打包遇到[x86_64, i386]问题,先把问题扔出来 iTunes Store Operation Failed ERROR ITMS-90087: "Unsupported Architectures. The executable for MMMagazineReadList.app/Frameworks/HelpDesk.framework contains ...转载 2019-07-17 21:58:38 · 793 阅读 · 0 评论 -
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file
找了一天的资料,终于找到解决办法了(亲测有效)The libswiftRemoteMirror.dylib is copied to the App Bundle, but the App Bundle must not contain a binary other than the apps binary.To fix this: In Xcode, remove "li...原创 2019-07-18 18:09:15 · 2056 阅读 · 0 评论 -
xib自定义UIcollectionViewCell的问题
//注册集合视图单元格[_collectionView registerNib:[UINib nibWithNibName:@"JZCaseCell" bundle:[NSBundle mainBundle]] forCellWithReuseIdentifier:@"MyCollectionCellID"]; //使用集合视图单元格- (UICollectionViewCell ...原创 2018-12-17 11:30:57 · 446 阅读 · 0 评论 -
Github上Fork代码,及源码修改
使用CocoaPods管理需要修改的第三方库1、首先在github上fork一份第三方库的代码2、将fork到自己目录下的MJRefrsh代码Clone下来,进行需要的修改,然后提交。提交后可查看到新的提交记录与说明3、修改Podfile,将pod ‘MJRefresh’的git地址修改为fork后的代码地址:pod ‘TFDropDownMenu’, :git=>'https:/...转载 2018-12-13 15:27:19 · 1476 阅读 · 0 评论 -
ios 请求URL中,有中文
[[NSString stringWithFormat:@"%@/activity/provider-activity-list?city=%@&session_key=%@",[SSingleton sender].web_view_domain,[SSingleton sender].city,[SSingleton sender].key] stringByAddingPercent...原创 2018-06-13 09:26:21 · 638 阅读 · 0 评论 -
UIButton title字体颜色不一样
_agreementBtn = [uibutton buttonWithType:UIButtonTypeCustom]; [_agreementBtn setTitle:@"查看《保证金管理协议》" forState:UIControlStateNormal]; _agreementBtn.titleLabel.font = [UIFont systemFontOfS...原创 2018-03-21 15:09:45 · 4360 阅读 · 0 评论 -
iOS web中js交互
在iOS 开发中,难免会使用到web中的交互这样我们就要获取交互中的事件了@protocol ESendWebDelegate <JSExport>- (void)backUserHome:(NSString *)backBtnAction;@end签好代理<ESendWebDelegate>///backUserHome是js中的方法名- (void)backUserHo...原创 2018-03-19 11:25:16 · 165 阅读 · 0 评论 -
NSArray 有字典,转换json
+ (NSString *)arrayToJSONString:(NSArray *)array{ NSError *error = nil; NSData *jsonData = [NSJSONSerialization dataWithJSONObject:array options:NSJSONWritingPrettyPrinted error:&error原创 2018-02-07 16:30:13 · 441 阅读 · 0 评论 -
iOS 判断当前页面是哪一个Viewcontroller
-(UIViewController*)atPersentViewController:(UIViewController*)vc { if (vc.presentedViewController) { return [self atPersentViewController:vc.presentedViewContr转载 2018-01-30 19:57:38 · 5711 阅读 · 0 评论