iOS 앱 아이콘 설정 및 이미지 실행 방법
앱을 보관하고 유효성을 검사 할 수 있도록 이미지를 어떻게 설정합니까? 화면은 다음과 같습니다 :
그래서 첫 번째 29pt는 말합니다 2x. 29x29이미지 나 이미지를 넣을 58x58까요? 그리고 다른 모든 것을 어디에 두나요? (내가 거기보다 더 크기는 것을 알고 29, 40하고 60).
어쨌든, 내가 시도한 것은 29x29png를 첫 번째 슬롯, 40x40두 번째 슬롯 및 60x60세 번째 및 네 번째 슬롯으로 드래그하는 것 입니다. 내가 갔을 때 Product->Archive, 나는 얻을
/ Users / kendon / Documents / iPhone Apps / Sales Tool / Sales Tool / Images.xcassets : "AppIcon"이라는 앱 아이콘 세트에 적용 할 수있는 컨텐츠가 없습니다.
업데이트 : 아이콘 크기를 하나씩 조정하는 것을 좋아하지 않으면 Schmoudi의 답변을 확인하십시오 . 훨씬 쉬워졌습니다.
아이콘 크기
iOS 9 디자인의 위 이미지 . 그들은 iOS 10과 동일합니다 .
앱 아이콘을 설정하는 방법
프로젝트 탐색기에서 Assets.xcassets 를 클릭 한 다음 AppIcon 을 선택 하십시오 .
빈 앱 아이콘 세트가 표시됩니다.
이제 Finder에서 올바른 크기의 이미지 (.png 형식)를 앱 세트의 모든 이미지로 드래그하기 만하면됩니다. 앱 아이콘이 모두 설정되었습니다.
올바른 크기의 이미지를 만드는 방법
맨 위에있는 이미지는 iOS 9에 필요한 각 포인트 크기의 픽셀 크기를 나타냅니다. 그러나 이후 버전의 iOS에 대해이 답변을 업데이트하지 않아도 여전히 올바른 픽셀 크기를 알아낼 수 있습니다. 아래의 방법.
빈 이미지 세트의 각 공백이 몇 점인지 (pt)보십시오. 이미지가 1x이면 픽셀은 점과 동일합니다. 2 배의 포인트는 2 배, 3 배는 포인트의 3 배입니다. 예를 들어 위의 첫 번째 공백 (29pt 2x)에는 58x58 픽셀 이미지가 필요합니다.
1024x1024 픽셀 이미지로 시작한 다음 올바른 크기로 축소 할 수 있습니다. 직접 할 수도 있고 적절한 크기를 얻기위한 웹 사이트와 스크립트도 있습니다. "ios app icon generator"또는 이와 유사한 것을 검색하십시오.
치수를 올바르게 얻는 한 이름이 중요하다고 생각하지 않지만 일반적인 명명 규칙은 다음과 같습니다.
Icon-29.png // 29x29 pixels
Icon-29@2x.png // 58x58 pixels
Icon-29@3x.png // 87x87 pixels
발사 이미지
시작 화면에 이미지를 사용할 수 있지만 시작 화면 스토리 보드 파일 사용을 고려하십시오. 이것은 모든 크기와 방향에 맞게 편리하게 크기가 조정됩니다. 이에 대한 도움이 필요하면 이 SO 답변 또는 다음 설명서를 확인하십시오 .
유용한 문서
이 게시물의 Xcode 이미지는 Xcode 7로 작성되었습니다.
최근 에 App Store 에서 Icon Set Creator 라는이 앱을 발견했습니다.이 앱 은 무료이며 새로운 변경 사항에 대해 업데이트되지 않고 곧바로 업데이트되며 OSX, iOS 및 WatchOS의 모든 아이콘 크기에 적합합니다.
아이콘 세트 작성기에서 :
- 이미지를 뷰로 드래그
- 대상 플랫폼을 선택하십시오
- 아이콘 세트 폴더 내보내기
XCode에서 :
- Assets.xcassets 폴더로 이동하십시오
- 기존의 기존 AppIcon 삭제
- 마우스 오른쪽 버튼으로 클릭-> 생성 된 아이콘 세트를 AppIcon 으로 가져 오기를 완료하십시오.
비트 시간을 절약하려면
1) 앱 아이콘 이미지를 파인더에서 모두 표시하고 앱 아이콘 이미지 세트의 빈 슬롯 중 하나로 드래그하여 한 번에 자산 카탈로그로 드래그 할 수 있습니다. 슬롯 위로 드래그하면 다른 슬롯 중 일부가 선택된 것처럼 보이며 드롭하면 모든 슬롯이 한 번에 채워집니다. 이것은 XCode 8 (XCode 7을 시도하지 않았 음)에서 작동하지만 XCode 9 베타에서는 아직 작동하지 않습니다.

2) The "Technical Q&A QA1686" apple documentation site has the sizes per app icon slot already calculated for you in a nice image and also contains the correct image names conventions.
The correct sizes are as following:
1)58x58
2)80x80
3)120x120
4)180x180
I use a tool called Prepo to produce all the right image sizes. You simply feed the app you image file and it will spit out each necessary file with an appropriate name.
Once you do this, you can then drag in the appropriate files or simply point to your Prepo exported folder.
Now a days is really easy to set app-icon, just go to https://makeappicon.com/ add your image, they will send you all size of App-icon (Also for watch & itunes as well), now Click Assets.xcassets in the Project navigator and then choose AppIcon. Now you just have to drag n drop the icon as required.
In the left list, right click on "AppIcon" and click on "Open in finder" A folder with name "AppIcon.appiconset" will open. Paste all the graphics with required resolution there. Once done, all those images will be visible in this same screen(one in your screen shot). then drag them to appropriate box. App icons have been added. Same process for Launch images. Launch images through this process are added for iOS 7 and below. For iOS 8 separate LaunchScreen.xib file is made by default.
I found App called Iconizer. You can find repository on github. Iconizer can generate app icons for OS X, iPad, iPhone, CarPlay and Apple Watch with just one image.
Simply Drag and Drop your icon onto Iconizer, select the platforms you need and whether or not you want all platforms generated into one asset catalog, then hit export.
After that just replace (delete and import) your AppIcon in the Assets.xcassets
This is a very frustrating part of XCode. Like many, I wasted hours on this when I switched to a newer version of xcode (version 8). The solution for me was to open the properties for my project and under the "App Icons and Launch Images" choose the "migrate" option for the icons. This made absolutely no sense to me as I already had all my icons there, but it worked! Unfortunately I now seem to have two copies of my launcher icons in the project though.
As per updated version(Xcode 8.3.3) I saw that below resolution are required for all fields of AppIcon sets.
40x40
58x58
60x60
80x80
87x87
120x120
180x180
It comes with hdpi, xhdpi, xxhdpi etc. Hope it will helps others.
Edited to 120x120
참고URL : https://stackoverflow.com/questions/28170520/ios-how-to-set-app-icon-and-launch-images
'Programing' 카테고리의 다른 글
| Redux 앱에서 localStorage에 쓸 위치는 어디입니까? (0) | 2020.06.15 |
|---|---|
| const 포인터의 요점은 무엇입니까? (0) | 2020.06.15 |
| java.lang.RuntimeException : 활동 ComponentInfo를 인스턴스화 할 수 없습니다 (0) | 2020.06.15 |
| AJAX 성공의 JSON 결과에 대한 jQuery 루프? (0) | 2020.06.15 |
| BAT 파일이 실행 된 후 CMD를 열린 상태로 유지 (0) | 2020.06.15 |






