如果您对iPhone/iPad的.如何从Safari中的链接启动应用程序?和怎么用safari打开链接感兴趣,那么这篇文章一定是您不可错过的。我们将详细讲解iPhone/iPad的.如何从Safari
如果您对iPhone / iPad的.如何从Safari中的链接启动应用程序?和怎么用safari打开链接感兴趣,那么这篇文章一定是您不可错过的。我们将详细讲解iPhone / iPad的.如何从Safari中的链接启动应用程序?的各种细节,并对怎么用safari打开链接进行深入的分析,此外还有关于@ font-face不嵌入移动Safari(iPhone / iPad)、App Icons on iPad and iPhone(iPad和iPhone应用程序图标)、ios – 新iPad显示iphone应用程序启动图像作为应用程序图标,而不是应用程序图标图像、iPad / iPhone Safari中明显的HTML处理错误?的实用技巧。
本文目录一览:- iPhone / iPad的.如何从Safari中的链接启动应用程序?(怎么用safari打开链接)
- @ font-face不嵌入移动Safari(iPhone / iPad)
- App Icons on iPad and iPhone(iPad和iPhone应用程序图标)
- ios – 新iPad显示iphone应用程序启动图像作为应用程序图标,而不是应用程序图标图像
- iPad / iPhone Safari中明显的HTML处理错误?
iPhone / iPad的.如何从Safari中的链接启动应用程序?(怎么用safari打开链接)
有人可以为我描绘方法和/或指向相关文档吗?非常感谢.
干杯,
道格
解决方法
Here’s the official Apple guide about the same topic.
@ font-face不嵌入移动Safari(iPhone / iPad)
@font-face { font-family: 'JottingRegular'; src: url('../fonts/jotting_regular-webfont.eot'); src: local('☺'),url('../fonts/jotting_regular-webfont.woff') format('woff'),url('../fonts/jotting_regular-webfont.ttf') format('truetype'),url('../fonts/jotting_regular-webfont.svg#webfonttEfFltbI') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'JottingBold'; src: url('../fonts/jotting_bold-webfont.eot'); src: local('☺'),url('../fonts/jotting_bold-webfont.woff') format('woff'),url('../fonts/jotting_bold-webfont.ttf') format('truetype'),url('../fonts/jotting_bold-webfont.svg#webfontJpUFTHYS') format('svg'); font-weight: normal; font-style: normal; }
解决方法
所以,在:
url('../fonts/jotting_regular-webfont.svg#webfonttEfFltbI') format('svg')
webfonttEfFltbI是字体编号.我在文本编辑器中打开SVG字体文件,并在文件顶部附近的下一行找到新的ID.
<font id="webfontC6xdxB57" horiz-adv-x="972" >
在CSS中替换哈希标签后的id修复了问题.
App Icons on iPad and iPhone(iPad和iPhone应用程序图标)
Technical Q&A QA1686
App Icons on iPad and iPhone
Q: How are the icon files in my application bundle used on iPad and iPhone?
A: Below are guidelines for handling icon files for iPhone-only apps,iPad-only apps,and universal apps.
Important: Icons marked with "required" must be supplied in your application bundle.
Note: iTunesArtwork icon file should be in png format,but name it without the .png extension.
iPhone-only Apps
Include the following in your application's Resources group in the Xcode project:
Image Size (px)
File Name
Used For
required Status
512x512
iTunesArtwork
Ad Hoc iTunes
Optional but recommended
57x57
Icon.png
App Store and Home screen on iPhone/iPod touch
required
114x114
Icon@2x.png
Home screen for iPhone 4 High Resolution
Optional but recommended
72x72
Icon-72.png
Home screen for iPad compatibility
Optional but recommended
29x29
Icon-Small.png
Spotlight and Settings
Optional but recommended
50x50
Icon-Small-50.png
Spotlight for iPad compatibility
Recommended if you have a Settings bundle,otherwise optional but recommended
58x58
Icon-Small@2x.png
Spotlight and Settings for iPhone 4 High Resolution
Recommended if you have a Settings bundle,otherwise optional but recommended
Your Resources group should look similar to figure 1:
figure 1 Add files to Resources groupIcon files
entry in the Info.plist
. Follow the steps in "Add Icon files in Info.plist" section below. Seefigure 4.
iPad-only Apps
Include the following in your application's Resources group in the Xcode project:
Image Size (px)
File Name
Used For
required Status
512x512
iTunesArtwork
Ad Hoc iTunes
Optional but recommended
72x72
Icon-72.png
App Store and Home screen on iPad
required
50x50
Icon-Small-50.png
Spotlight on iPad
Optional but recommended
29x29
Icon-Small.png
Settings on iPad
Recommended if you have a Settings bundle,otherwise optional but recommended
Except for iTunesArtWork icon,list the names of each of these files in theIcon files
entry in the Info.plist
. Follow the steps in "Add Icon files in Info.plist" section below. Seefigure 5.
Universal Apps
Include the following in your application's Resources group in the Xcode project:
Image Size (px)
File Name
Used For
required Status
512x512
iTunesArtwork
Ad Hoc iTunes
Optional but recommended
57x57
Icon.png
App Store and the Home screen on iPhone/iPod touch
required
114x114
Icon@2x.png
Home screen for iPhone 4 High Resolution
Optional but recommended
72x72
Icon-72.png
App Store and Home screen on iPad
required
50x50
Icon-Small-50.png
Spotlight on iPad
Optional but recommended
29x29
Icon-Small.png
Settings on iPad and iPhone,and Spotlight on iPhone
Recommended if you have a Settings bundle,list the names of each of these files in theIcon files
entry in the Info.plist
. Follow the steps in "Add Icon files in Info.plist" section below. Seefigure 4.
Add Icon files in Info.plist
To add the Icon files
entry you will need to manually edit your Info.plist
.
Open your Info.plist
in Xcode,and locate the "Icon file
" entry. Click on the plus (+) button at the end of the entry to make a new key entry. as shown infigure 2.
Icon files
" in the key column (notice the "s
" added),or choose "Icon files
" from the drop down list,as shown infigure 3.
figure 3 Add "Icon files" key in Info.plist
Icon files
" and add the entries for the icons for your application,as shown infigure 4 and figure 5:
figure 4 Add icon file entries for iPhone-only or Universal apps.
Note: If you don't provide one of the listed optional icons,the system will automatically scale one of your existing icons to an appropriate size. However,it is strongly recommended that your application supply all the icons listed with specific sizes needed.
For additional information,see the Build-Time Configuration Details section in the iOS Application Programming Guide.
For details on using the CFBundleIconFiles
key,see Information Property List Key Reference. For information on creating your applications icons,see the Application Icons section of theiOS Human Interface Guidelines.
Document Revision History
After iOS 4.3,order doesn't matter in the icon arrangement. Added links to related references.
Fixed outdated "Add Icon files in Info.plist" section.
Updated for iOS 4 requirements.
New document that explains how the icon files in an application bundle are used on iPad and iPhone.
https://developer.apple.com/library/ios/#qa/qa1686/_index.html
总结
以上是小编为你收集整理的App Icons on iPad and iPhone(iPad和iPhone应用程序图标)全部内容。
如果觉得小编网站内容还不错,欢迎将小编网站推荐给好友。
iOS相关文章
- • 借助辅助工具appuploader iOS应用上架流
- • Flutter中实现整个App变为灰色
- • 【Cocos creator】Cocos creator介绍和
- • Vue3使用axios的配置教程详解
- • flutter升级/版本切换
- • 【C++入门】文件流(fstream)介绍和使
- • iOS App页面置灰
- • iOS黑(灰)白化实现方案---记录
- • 让学前端不再害怕英语单词(二)
- • 电视剧里的代码真能运行吗?
ios – 新iPad显示iphone应用程序启动图像作为应用程序图标,而不是应用程序图标图像
由于它不是通用应用程序,似乎没有地方可以为 Xcode中的iPad设备配置一些东西.
在包括3G,4和4S以及旧iPad的iPhone中,我没有这个问题.
解决方法
iPad / iPhone Safari中明显的HTML处理错误?
如果您查看以下简单的网页,包括标题….意味着在Arduino中进行嵌入式开发(尽管这个问题与后者没有任何关系).
<!DOCTYPE HTML> <html><head><Meta http-equiv='cache-control' content='no-cache' /> <link href='http://www.scargill.net/embed/embed.css' rel='stylesheet' /><title>strange page</title> </head><body> <br/>Time: 09:24:07 03/04/2012<br/> <br/>Time: 09:24:07 03\/04\/2012<br/> </script> </body></html>
显示时间和日期的两条重要线路……第一条是简单的时间和日期显示,第二条是绝望的调试尝试……你可以忽略它……
在任何浏览器上,这显示正常…我在http://www.scargill.net/eh.htm的副本
iPhone或iPad上的任何浏览器都不适用于Safari ……第一行显示的时间和日期都会发生,它会在一段时间内完成并停止.
这适用于使用其他浏览器的iPad,但不适用于Safari.
任何人都可以提供帮助 – 为什么在iPad和iPhone上简单地显示时间和日期?
解决方法
您可以通过将以下内容添加到< head>来停止Safari查找电话号码.部分:
<Meta name="format-detection" content="telephone=no" />
希望这可以解决您的问题.
今天关于iPhone / iPad的.如何从Safari中的链接启动应用程序?和怎么用safari打开链接的介绍到此结束,谢谢您的阅读,有关@ font-face不嵌入移动Safari(iPhone / iPad)、App Icons on iPad and iPhone(iPad和iPhone应用程序图标)、ios – 新iPad显示iphone应用程序启动图像作为应用程序图标,而不是应用程序图标图像、iPad / iPhone Safari中明显的HTML处理错误?等更多相关知识的信息可以在本站进行查询。
本文标签: