Reputation: 105
In iPhone 4inch screen it shows up 3.5inch screen in simulator. Please checkout the above screen shot. What may be the issue? or what I have missed out?
Upvotes: 0
Views: 201
Reputation: 3329
First Show this image . in that image you show warning for Retina 4 support so click on this warning and click on add so your retina 4 splash screen automatic add in your project.
and after you use this code :
if([[UIScreen mainScreen] bounds].size.height == 568)
{
// For iphone 5
}
else
{
// For iphone 4 or less
}
Upvotes: 6