07 2013 档案

摘要:在UITableViewCell子类中重写layoutSubviews方法去改变这些值,举例-(void)layoutSubviews{[superlayoutSubviews];[self.imageViewsetFrame:CGRectMake(10, 10,29, 29)];self.imageView.contentMode=UIViewContentModeScaleAspectFit;} 阅读全文
posted @ 2013-07-30 16:44 真正搞技术 阅读(805) 评论(0) 推荐(0)
摘要:有的时候,我们申请了开发证书,但xcode依然找不到该设备,证书也无法安装到ipod等设备中,那么我们可以看看,Orgnizer中有“是否将该设备用作开发”的按钮,点击之。 阅读全文
posted @ 2013-07-29 11:02 真正搞技术 阅读(423) 评论(0) 推荐(0)
摘要:国内的没有人解答,stackoverflow中发现答案:What you need to do is this.Go to “Manage Your Applications” and select the app.Click “Rights and Pricing” (blue button at the top right.Below the availability date and price tier section, you should see a grid of checkboxes for the various countries your app is available 阅读全文
posted @ 2013-07-15 09:44 真正搞技术 阅读(904) 评论(0) 推荐(0)
摘要:NSLocale *locale = [NSLocale currentLocale];NSString *localName = [locale localeIdentifier];这个localName是"多语言环境"设置里的 "区域格式"对应的值,并不是"语言"项对应的值。"语言"项对应的值如下:NSArray *languages = [NSLocale preferredLanguages];NSString *currentLanguage = [languages objectAtIndex:0]; 阅读全文
posted @ 2013-07-08 08:54 真正搞技术 阅读(772) 评论(0) 推荐(0)