上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页

2011年6月7日

摘要: http://developer.apple.com/library/prerelease/ios/#releasenotes/General/WhatsNewIniPhoneOS/Articles/iPhoneOS4.html#//apple_ref/doc/uid/TP40009559-SW5 阅读全文
posted @ 2011-06-07 11:34 禚来强 阅读(1354) 评论(0) 推荐(1)

2011年6月6日

摘要: 在程序中关闭iPhone JUL 首先在程序中引用 #include 然后使用 reboot(RB_HALT); 就可以直接将iPhone关机。 阅读全文
posted @ 2011-06-06 14:59 禚来强 阅读(174) 评论(0) 推荐(0)
摘要: iPhone的特殊URL JUL 在iPhone中,可以直接用UIApp打开URL地址。如下所示: [ UIApp openURL: [ NSURL URLWithString:@"http://www.apple.com" ] ]; 或者: [ UIApp openURL: [ NSURL URLWithString:@"mailto:apple@mac.com?Subject=hello" ] ]; 与此同时,iPhone还包含一些其他除了http://或者mailto:之外的URL: sms:// 可以调用短信程序 tel:// 可以拨打电话 it 阅读全文
posted @ 2011-06-06 14:57 禚来强 阅读(482) 评论(0) 推荐(0)

2011年6月5日

摘要: Sizes of iPhone UI Elements Element Size (in points) Window (including status bar) 320 x 480 pts Status Bar (How to hide the status bar) 20 pts View inside window (visible status bar) 320 x 460 Navigation Bar 44 pts Nav Bar Image / Toolbar Image up to 20 x 20 pts (transparent PNG) Tab Bar 49 pts Ta. 阅读全文
posted @ 2011-06-05 20:54 禚来强 阅读(522) 评论(0) 推荐(0)
摘要: Technical Q&A QA1686 引用网址:http://developer.apple.com/library/ios/#qa/qa1686/_index.html App Icons on iPad and iPhone Q: How are the icon files in my application bundle used on iPad and iPhone? A: How are the icon files in my application bundle used on iPad and iPhone? Below are guidelines for ha 阅读全文
posted @ 2011-06-05 20:44 禚来强 阅读(1954) 评论(0) 推荐(0)
摘要: 来自于:http://www.xiaweipin.com/archives/28#roundcorner 图标的圆角和光晕效果 圆角效果。图标的圆角效果是系统自动加上的,我们不能控制。这也是为什么我们看到的每个图标,其圆角效果是完全相同的。 光晕效果。光晕效果也是系统加上的,和“圆角”不同的是,光晕效果是一个可选项。我们可以通过设置app的光晕参数(UIPrerenderedIcon),告诉系统是否要为我们的图标打上光晕效果。 总结:1)设计图标时请记得,图标的圆角效果是系统自动加上的,且是我们无法控制的。 2)设计图标前先决定,是否要使用系统内建的“光晕效果”。 每个图标都有相同的圆角。左边 阅读全文
posted @ 2011-06-05 19:50 禚来强 阅读(1237) 评论(0) 推荐(0)
摘要: Default命名方法 .png 这个就不多说了,方法和icon是一样的,只列出相关的后缀 默认为Default,也可用UILaunchImageFile key设置,在这用Default举例 旋转 方向 -PortraitUpsideDown -LandscapeLeft -LandscapeRight -Portrait -Landscape None 也就是说你可以Default-Portrait.png 来表示竖屏时的加载图像,同样也可以直接Default.png不指定方向 依然是为iphone4准备,用法和icon雷同 Default-Portrait.png与Default-Por 阅读全文
posted @ 2011-06-05 19:44 禚来强 阅读(352) 评论(0) 推荐(0)
摘要: [[UIApplication sharedApplication] setStatusBarStyle: UIStatusBarStyleBlackOpaque];self.navigationController.navigationBar.translucent = YES;[self.navigationController.view setNeedsLayout];self.wantsFullScreenLayout = YES; 阅读全文
posted @ 2011-06-05 02:44 禚来强 阅读(999) 评论(0) 推荐(1)

2011年6月4日

摘要: up vote0down votefavorite For UIViewController, we have UIModalTransitionStyle and UIModalPresentationStyle enter link description hereQuestion is what is the difference of them ?1 Answer activeoldestvotes up vote1down voteaccepted UIModalTransitionStyle is used to specify how the modal form transi. 阅读全文
posted @ 2011-06-04 18:02 禚来强 阅读(824) 评论(0) 推荐(0)
摘要: 今天进行新的项目的真机测试,但是突然发现我的xcode4不能发现真机,看看证书和签名都没有错,真的很奇怪。 经过一个小时的研究发现,原来是我的iphone从4.2.1降级到3.1.3了,而Deploument Target还是设置为4.1,所以导致我的iphone无法被识别,有我和相似的dev可以参考一下。 阅读全文
posted @ 2011-06-04 14:07 禚来强 阅读(316) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页

导航