- 浏览: 355121 次
- 性别:
- 来自: 福州
文章分类
- 全部博客 (145)
- iPhone不能分类的 (37)
- UITableView (7)
- CALayer (4)
- UIButton (2)
- NSFileManager (4)
- UIAlertView (1)
- ASIHTTPRequest (2)
- NSDate (8)
- UIImageView (1)
- UIFont (1)
- Mac OS X (4)
- NSString (5)
- UINavigationBar (2)
- UIView (7)
- UIScrollView (1)
- UIDatePicker (1)
- NSLog (2)
- UIWebView (2)
- MKMapView (6)
- core plot (1)
- UILabel (2)
- UIImage (3)
- NSArray NSMutableArray (2)
- iphone基础知识 (3)
- NSDictionary NSMutableDictionary (1)
- Block (2)
- UINavigationController (1)
- Quartz (3)
- UIColor (1)
- NSNotificationCenter (1)
- NSNumber (1)
- NSError (1)
- NSTimer (1)
- NSURL (1)
- KVO (1)
- UIBarButtonItem (1)
- NSUserDefaults (1)
- 软键盘 (1)
- UITextView (2)
- CLLocationManager (1)
- xCode (2)
- VC (3)
- Private Framework (1)
- xCode调试技巧 (2)
- IOS7 (3)
- cocos2d-x (5)
- 后台运行 (1)
- Chromium (0)
最新评论
-
feishihai:
太 感谢 了!!!其他地方说的都只有一半!!
xcode5 Icon already includes gloss effects doesnot work解决方法 -
hhb19900618:
你这个效果有渐变吗?
UITableView阴影 -
zhaoyubetter:
不对啊。这是遍历 value啊
NSDictionary遍历所有的key和Values -
sunqingquan:
学习啦,加油
NSError code错误列表信息 -
liubiqu:
如果有xib文件需要增加一个language,这样调用选择图片 ...
iphone系统控件里显示中文标题设置
The retinal display on the new iPhone 4 doubles the pixel resolution of the display. However when it comes to laying out the UI elements you can still think about a full screen display with dimensions of 320 x 480 in portrait mode. The big difference is that these dimensions are now expressed in points NOT pixels. What has changed is the scaling factor of the screen which determines how a point relates to a pixel. For the iPhone 4 the display has a scale of 2 so that 1 point = 2 pixels. The number of pixels on the display has doubled to 640 x 960 but if you are using UIKit this added complexity is mostly hidden from the application. The UI layout is configured using the point dimensions so thankfully you do not have to worry about redoing the layout just for iPhone 4 devices. Also things like text and standard Apple UI components such as navigation bars, system buttons, etc are automatically displayed at the higher pixel resolution. Note that if you are using core graphics or core animation you will have some additional work to do as those frameworks only work with pixels not points. There are some additional steps that are worth doing if you want your app to look its best on the iPhone 4. Apple has introduced a simple naming convention to allow image files at double the resolution to be loaded when the display will support it. To make use of this feature you need to go back to your original image files and create versions at twice the existing size. So if you have an image that is currently 100x100 pixels named myImage.png you need to create a new version which is 200x200 pixels named myImage@2x.png. You should probably avoid just taking the existing image file and scaling it up to double the size. Ideally you want to create your images at the higher resolution and then scale down to the standard resolution so that both sizes look their best. Once you have the high-resolution image files you just need to add them to your project and they will be selected automatically anytime you use UIImage class methods such as +imageNamed: or +imageWithContentsOfFile: So for example: UIImage *myImage = [UIImage imageNamed:@”myImage.png”]; will load myImage.png on iPhone 3 and iPad devices but will load myImage@2x.png on the iPhone 4. It is possible to omit the filename extension from the name of the image file with iOS 4 but you will need to include it if you want to maintain compatibility with 3.x releases. As well as updating image files you should also update the application icon files to include high-resolution versions of each file. So since the original iPhone application icon file is 57x57 pixels the 2x version needs to be 114x114 pixels. In addition the settings/search icon which is normally 29x29 pixels needs a high-resolution version that is 58x58 pixels. With iPhone OS 3.2 for the IPad a new key (CFBundleIconFiles) was introduced to Info.plist to specify the ever growing list of icon files. If you are producing an App that will only run only on iOS 4.0 and 3.2 you can use CFBundleIconFiles (you can delete the old CFBundleIconFile key if you want since it will no longer be used). If you do not specify the filename extensions you can avoid listing all of the 2x variations of the file. So if we have an iPhone icon, an IPad icon and the corresponding settings/search icons the entry in Info.plist would be as follows:
If we want to maintain compatibility with pre-3.2 devices we cannot rely on the CFBundleIconFiles key. Instead we need to specify the icon files using the Apple determined naming convention. The files we would need to support all devices would be as follows: Then in the Info.plist file we need to use the original CFBundleIconFile key to specify just the basename of the icon file (“Icon.png”) as follows:
As with the application icons you can also specify high-resolution versions of your launch images. So a standard resolution portrait launch image named Launch.png is 320x480 pixels. The high resolution version would be 640x960 pixels and named Launch@2x.png. Likewise a landscape version of the file named Default-Landscape.png would be 480x320 in standard resolution (assuming a status bar) and named Default-Landscape@2x.png with 960x640 pixels in high resolution. To avoid validation errors when uploading to the App Store I find that the old CFBundleIconFile needs to also specify the extension (Icon.png). I have created an example app to illustrate the different configurations that I will try to post in the next few days to clear up the confusion. See this post for more details on the problem with the version of Application Loader shipped with Xcode 3.2.3: Application Icon Troubles. 转载自:http://useyourloaf.com/blog/2010/6/29/updating-for-the-iphone-4-retinal-display.html2x Image Files
Applications Icons
Launch Images
发表评论
-
XCode工程内多Targets教程
2014-08-11 09:20 1540原帖地址 http://www.coc ... -
iOS7 Custom UITabBarController
2014-07-02 16:57 746http://blog.csdn.net/u014084081 ... -
[CALayer release]: message sent to deallocated instance iOS内存过度释放问题
2014-06-24 16:30 1364http://www.cnblogs.com/cocoaji ... -
Determine device (iPhone, iPod Touch) with iPhone SDK
2014-05-01 19:57 1082- (NSString *) platformStri ... -
appstore 网址 相关
2014-04-06 15:57 1053获取某个app的网址,格式:https://itunes. ... -
在Xcode项目中导入自定义的字体-
2014-03-14 21:33 15921. 将你的font的ttf文件导入到项目里。 2. 找到 ... -
检测文件属性(图片,视频或文本)
2013-12-10 17:17 976NSString *file = @"ht ... -
xcode 的project.pbxproj 的合并问题
2013-11-19 17:10 1100打开project.pbxproj 手工删除了里面>&g ... -
NSAttributedString.h
2013-10-30 14:25 2346*/ UIKIT_EXTERN NSString *co ... -
IOS 如何获取当前设置的语言
2013-05-27 14:20 5484NSUserDefaults *defaults = [NSU ... -
统计代码函数
2013-01-06 09:31 949find . "(" -name &qu ... -
@dynamic 和@synthesize区别,@encode
2012-12-06 09:56 1835@dynamic 是相对于 @synthesize的,它 ... -
NSNumberFormatter使用方法
2012-10-09 17:24 1332NSNumberFormatter* moneyFor ... -
app running in background
2012-07-27 12:36 2036app需满足下面条件才能在后台运行,否则最多只能在后台10~1 ... -
animateWithDuration block main thread
2012-07-02 15:32 1631用+ (void)animateWithDuration:(N ... -
iOS系统中各种设置项的URL链接
2012-01-16 13:09 1334在代码中调用如下代码:NSURL*url=[NSURL ... -
xcode4.2中为propery重写setter和getter方法会出现警告解决方法
2012-01-07 21:24 2651xcode4.2中为propery重写setter和gette ... -
使用animateWithDuration 导致exc_bad_access
2011-12-30 12:32 1481这时看看系统设置中的other link flags是否有使用 ... -
xcode4.2编译支持IOS3.1.2系统设置
2011-12-26 12:16 12101.Change the Target's "Bui ... -
iPhone、iPad通用的应用程序图标设置
2011-12-18 21:38 1223http://blog.csdn.net/diyagoanyh ...
相关推荐
lorem ipsm dolor sit amet
4. **数据库设计**:包括关系型数据库(如MySQL)或非关系型数据库(如MongoDB)的使用,以及数据库优化和数据安全策略。 5. **用户认证与授权**:如OAuth2.0、JWT(JSON Web Tokens)等机制,用于用户登录、权限...
使用 cp .env.example .env composer install 导入数据库文件,文件地址:database/sql/workflow_data.sql 初始账号: 1@qq....
标题中的"XXX.rar_H XXX_XXX.www._https://cn.txxx.com_wwwxxxex_xxxwww.98"部分看起来像是一个不完整的链接或者可能是某种编码格式,但关键信息是"XXX.rar",这表明我们正在处理一个RAR压缩文件。RAR是一种流行的...
【标题】"xxx5-12.rar_5XXX_XXX 12.com_XXx243_www.5xxx.com_xxx5" 暗示这是一个与网站或应用程序相关的压缩包,其中可能包含了用于创建或更新一个具有特定功能的模块,可能是登录窗口。这个标题中的数字和字母组合...
XXX平台1.01.1版本登录流程图.png
"xxx.51cc"和"xxx51cc"可能是网站或论坛的名称,提供了51单片机的学习社区和资源下载,初学者可以在其中找到更多实践案例和交流经验。 压缩包内的"xxx"文件,很可能是源代码文件或者文档,包含了具体的编程实例和...
在本案例中,"xxx.rar_xxx video_xxx.CBp.VDO_xxx.video._视频 解压缩" 的标题暗示我们关注的焦点是一个包含了视频编解码过程的压缩文件。描述中提到,原始图像被压缩成MPEG4格式,这是一种广泛使用的视频编码标准,...
- <user@xxx.xxx.xxx.xxx>: connect to xxx.xxx.xxx.xxx timed out 这表明收信服务器暂时无法处理邮件,通常是由于服务器负载过高或网络延迟。此类问题通常会在短时间内自行恢复,稍后再尝试发送即可。 ##### 6. *...
基于 System.Web.Mail 与 System.Net.Mai 实现的EmailClient,展示了两种不同命名空间下的mail发送区别与使用方式,并提供了统一的帮助类处理邮件发送。 邮件异步发送示例: EmailHelper.SendNetMailAsync(new ...
STM32F10xxx参考手册.zipSTM32F10xxx参考手册.zipSTM32F10xxx参考手册.zipSTM32F10xxx参考手册.zipSTM32F10xxx参考手册.zipSTM32F10xxx参考手册.zipSTM32F10xxx参考手册.zipSTM32F10xxx参考手册.zipSTM32F10xxx参考...
该Sketch插件会将选定的画板转换为9patch布局,然后将其导出到Desktop上的xxx.9.png。 如何使用: 将图层放置在画板上。 每个画板将导出一个PNG文件。 根据需要重命名画板,而无需添加“ .9”或“ .9.png”。 ...
mailInfo.setPassword("xxx"); mailInfo.setContentType("text/html"); mailInfo.setContent("<font color=\"red\">welcome to </font><a >技术社区</a>"); sendMail=new FinderSendMail(mailInfo); ...
前渗透信息探测工具集-URL采集0x00 简介尽可能花更少的时间,使用All in one工具收集更多的...配置self.shodan_token = "xxxx"self.censys_api_id = "xxxx"self.censys_secret = "xxxxx"self.fofa_email = "xxxx@xxx....
1,在配合asp邮件群发系统 v3.3个性群发使用 添加图片可自定义图片大小 2,{mail} 是需要替换成你用统计的邮箱地址 例如 tj.asp?t=xxx@163.com 以图片方式调用当xxx@163.com查看邮件的时候你就可以看见他的IP地址打开...
基于Android平台的Mail Sender. 代码示例: 1.普通邮件: ... ... …… private void testJMailSender(){ ... String password = "xxx";... String to = "xxx@sina.com";...如使用有问题,请联系QQ:28185776
标题中的“wk2xxx_spi_v1.120160715.rar”表明这是一个针对wk2xxx系列设备的SPI(Serial Peripheral Interface)驱动程序的版本1.1,发布于2016年7月15日。该驱动程序是专为Linux操作系统设计的,用于支持wk2124型号...
【标题】:“xxx.rar_comxxx_xxx网_俄罗斯 XXX_俄罗斯XXX视频_俄罗斯免费xxx”这个标题中的关键词主要涉及到一个rar压缩文件,其中可能包含了与“俄罗斯”相关的某个项目或资源,尤其是与“俄罗斯XXX视频”和...
色xxx.com_wwwxxx透明" 涉及的核心知识点是图像处理中的位图转换和透明度设置,特别是针对PNG图片的转换。PNG(Portable Network Graphics)是一种无损压缩的位图格式,它支持透明度效果,这使得PNG在网页设计、图形...