摘要: 1.打开地址https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa,登录进入2.选择ManageYour App,选中你要升级的那个应用,会跳转到这个应用的信息界面3.在这个界面,currentVersion下面有你的应用icon,会显示你的应用状态,点击右边的addversion 按钮,4.输入你要升级的版本号和新版本中添加的新特性或修改的bug信息5.完成后进入下级界面,会提示你应用的状态为“preparefor Upload”,点击右上角的“Readyto Upload Binary”,进入“ExportComplianc 阅读全文
posted @ 2013-07-15 10:38 如来藏 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 之前我帮某公司做的一个iOS app,升级的时候发现闪退问题。后来检查是因为升级的时候数据库出现一点小问题导致对象为空。下面这个代码可以检测程序是否更新了,从而进行相关处理:123456789101112131415161718192021222324252627// 首先获得目前运行版本的数值,例如:1.1.2NSString *currentAppVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];// 具体思路:// 检查是否已经将之前版本的值保存在 @& 阅读全文
posted @ 2013-07-15 10:35 如来藏 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 功能设计先申明一下,我是码农,不是一个产品经理,但我觉得现有市面上的很多App,设计的“升级提示功能”都不太友好。在此分享一下我的想法,欢迎大家讨论。这些App包括:新浪微博、网易微博、网易新闻客户端以及大部分带有升级提示功能的App,所以我觉得这个问题还是挺普遍的。对于该问题,一句话描 述起来就是:“这些App都会在用户刚刚使用它的时候,提示有新版本,让用户去AppStore上下载最新的版本”。下面是某个应用的升级提示截图:为什么我认为这是一个糟糕的设计呢?因为用户刚刚打开你的App,明显就是想使用你的功能。例如刚刚打开新浪微博,可能就是想看一下最新的消息或回 复。刚刚打开网易新闻客户端,可 阅读全文
posted @ 2013-07-15 10:19 如来藏 阅读(293) 评论(0) 推荐(0) 编辑
摘要: I am using Erica Sadun's method of Asynchronous Downloads (link here for the project file: download), however her method does not work with files that have a big size (50 mb or above). If I try to download a file above 50 mb, it will usually crash due to a memory crash. Is there anyway I can twe 阅读全文
posted @ 2013-07-15 09:52 如来藏 阅读(500) 评论(0) 推荐(0) 编辑
摘要: Fill first name with “Tom”.Fill last name with “Hall”.Fill address 1 with “4114 Sepulveda Blvd”.Fill City with “Culver City”.Fill zip code with “90230”.Select State or province “California”Select country “United States”.Fill phone number “1234567890”Fill Card number with “4024007148673576”Select the 阅读全文
posted @ 2013-07-14 14:34 如来藏 阅读(198) 评论(0) 推荐(0) 编辑
摘要: NSDictionary *attributes = [[NSFileManager defaultManager] attributesOfItemAtPath:self.finalPath error:NULL]; unsigned long long fileSize = [attributes fileSize]; // in bytes 阅读全文
posted @ 2013-07-11 11:55 如来藏 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1,select下拉框类型使用工具可以看到html对应标签为这类标签才是真正的下拉框类型就需要对应的方法,不能但看页面上的效果,有的做成了效果但其实不是select类型即不能使用select相应方法Select selectState = new Select(driver.findElement(By .id("billing_state_id"))); selectState.selectByValue("12");2,刷新页面String script = "document.location.reload()"; ((Java 阅读全文
posted @ 2013-07-11 11:42 如来藏 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 担心下载的文件被恶意篡改?没有找到 Mac 平台文件校验工具?其实 Mac OS X 系统中已经内置了“文件 MD5/SHA1 校验工具”,它就藏身于终端(Terminal)应用中!打开终端应用,输入需要验证类型的终端命令(MD5——md5;SHA1——shasum)后加上一个空格,然后将需要校验的文件拖拽到终端窗口,命令生成后按下回车即可。如图: 阅读全文
posted @ 2013-07-11 11:34 如来藏 阅读(233) 评论(0) 推荐(0) 编辑
摘要: How to calculate the MD5 in objective C ?md5 is available on the iPhone and can be added as an extension for ie NSString and NSData like below.MyExtensions.h@interfaceNSString(MyExtensions)-(NSString*) md5;@end@interfaceNSData(MyExtensions)-(NSString*)md5;@endMyExtensions.m#import "MyExtensions 阅读全文
posted @ 2013-07-11 11:25 如来藏 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 我现在要使用SQLite3.0创建一个数据库,然后在数据库中创建一个表格。首先要引入SQLite3.0的lib库。然后包含头文件#import 【1】打开数据库,如果没有,那么创建一个sqlite3* database_;-(BOOL) open{ NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSString *pa... 阅读全文
posted @ 2013-07-11 11:20 如来藏 阅读(187) 评论(0) 推荐(0) 编辑