Does Default.png work in the simulator, but not in the device?

When the application loads, if we want the image to be displayed, we use the same name Default.png. And I also used it for the icon. But they work great in the simulator.

But when I try it in the device in both places, its space. Can any of me figure it out?

+3
source share
9 answers

According to Apple HIG, your Icon.png should be 57 x 57 pixels, with angles of 90 degrees. and Default.png should be 320 x 480 pixels. For more information, follow MobileHIG.

For screen saver

  • Just add the Default.png folder to your resources.

For icon

2. icon.png Info.plist

. Key = Icon file, Value = icon.png

3. , ( " " xcode).

4. , default.png(not Default.png)

+2

. D. Default.png default.png , .

0

. , , xcode/device.

0

, , Default.png 320 * 480, , , , png.

, .

,

Madhup

0

, , - " D". UIImageView.

0

, - , Localized Default.png. en.lproj fr.lproj , xcode, . , .

XCode, , XCode . .

XCode 3.2.6 (IOS 4.3).

0

, :

, Default.png ACTUALLY PNG. , Default.png .JPEG , .PNG

0

, ... , Default.png Splash.png, info.plist " " , "Splash" - !

0

Source: https://habr.com/ru/post/1727574/


All Articles