- 博客(6)
- 收藏
- 关注
转载 优雅的开发Swift和Objective C混编的Framework
前言为什么要写这样一篇文章,因为昨天和一个朋友讨论到Swift和Objective C如何混合开发Framework,中途发现了很多有意思的坑。用Swift封装OC的库是一件比较常见的事情,毕竟对于大多数公司来说,老的代码都是用OC写的,而且经过多次迭代,这些OC的代码已经被验证了是稳定的,用Swift重写代价太大。这就引入了一个需求:用Swift和OC来混编一个Framework
2017-05-25 14:22:13 358
原创 ios开发 苹果手机作为奖品, 上线被拒.........
Guideline 5.2.4 - LegalYour app includes a contest that provides Apple products as prizes. The offer can be found at 首页.Apps that include such offerings create a misleading association with Ap
2017-05-25 14:13:47 1475
原创 ios开发 关于PLA1.2审核被拒绝, 解决办法....足够你用
被拒原因是:PLA 1.2Your app sells products from third-party retailer, however, the seller and company names associated with your app do not reflect the retailer in the app or its metadata, as required b
2017-05-25 13:57:50 4567
翻译 ios开发 获取实际使用的LaunchImage图片
- (NSString *)getLaunchImageName{ CGSize viewSize = self.window.bounds.size; // 竖屏 NSString *viewOrientation = @"Portrait"; NSString *launchImageName = nil; NSArray* ima
2017-05-25 13:46:11 4277
翻译 ios开发 判断当前ViewController是push还是present的方式显示的
NSArray *viewcontrollers=self.navigationController.viewControllers;if (viewcontrollers.count > 1){ if ([viewcontrollers objectAtIndex:viewcontrollers.count - 1] == self) { //push方式
2017-05-25 13:45:12 1990
原创 iOS开发 两种方法删除NSUserDefaults所有记录
//方法一 NSString *appDomain = [[NSBundle mainBundle] bundleIdentifier];[[NSUserDefaults standardUserDefaults] removePersistentDomainForName:appDomain];//方法二 - (void)resetDefaults { N
2017-05-25 13:43:39 543
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人