Questions tagged [iphone-4]

The iPhone 4 is the fourth version of the iPhone released by Apple, Inc. Use this tag for questions specific to this platform. Don't confuse with the iPhone 4S.

The iPhone 4 is the fourth version of the iPhone released by Apple, Inc. Use this tag for questions specific to this platform. Don't confuse with the iPhone 4S.

Resource

303 questions
5
votes
2 answers

Scalar type in Managed Object only works for IPhone 5

Property 'Latitude' is a scalar type on class 'LatitudeLongitude'. Cannot generate a setter method for it. When I generated codes for my managed object, I got a message whether I want scalar properties for primitive data type. should I use it? I…
user4951
  • 32,206
  • 53
  • 172
  • 282
5
votes
3 answers

About IPhone4 screen resolution

I read from http://www.apple.com/iphone/specs.html that IPhone4's screen is 960-by-640-pixel resolution at 326 ppi. But in Xcode's IPhone4.3 simulator, when I manipulate the display objects, print the [UIScreen mainScreen].applicationFrame, it is…
Matt.Z
  • 602
  • 7
  • 19
5
votes
3 answers

Launch iOS app faster

I figured out that some iOS apps are launching really faster (e.g. YouTube-from google,Skype,iTunes). I created an empty application (used standard tabbed application template) and i did not change any code at all, just added splash images. When i…
5
votes
1 answer

What is the Best way to Handle Very High Resolution Images?

I am developing an app, which needs to use images that have a resolution higher then (2000 x 2000) for text clarity purposes. I have a Background image, over which I need to show Overlay Images with the same resolution. The number of overlays are…
Haris Hussain
  • 2,531
  • 3
  • 25
  • 38
4
votes
1 answer

iOS5 Region Monitoring Accuracy

I am trying to get precise region monitoring working with iOS5/iPhone 4G and I don't seem to be having much luck. To be clear, I AM able to get region enter events; it's just that I am getting them prematurely. Let me explain. This is my code for…
salil
  • 407
  • 3
  • 14
4
votes
2 answers

sound only playing through headphones on certain devices with MPMoviePlayerController

I have a weird problem for you all. MPMoviePlayerController is playing the video fine, and the audio ONLY plays through headphones. The real drag is that this only happens on some iPads and iPhones, even the SAME EXACT MODELS running the SAME EXACT…
4
votes
1 answer

How can I have a full-screen canvas at full resolution in an iPhone 4?

I'm trying to create an HTML5 game, which I'd like to work in modern desktop browsers, plus as many smartphones as I can get my hands on to. For now, that means iPhone 3/4 and a couple of Androids... This game is basically a canvas that should…
Daniel Magliola
  • 30,898
  • 61
  • 164
  • 243
4
votes
3 answers

Is there a way to dim the LED light on the iPhone 4?

Is there a method or property that allows you to set the brightness of the LED light on the iPhone 4?
marty
  • 391
  • 1
  • 7
  • 15
4
votes
1 answer

iOS 7 navbar colours not showing properly on iPhone 4

My navigation bar colours appear normally in iOS 7 Deploying iOS 6.0, but if the system version is iOS 7.0 or later, some of the navigation bar colouring doesn't display properly on iPhone 4. Works fine in iPhone 5. Here's how I am doing it: if…
shim
  • 9,289
  • 12
  • 69
  • 108
4
votes
3 answers

how to fix Viewport issue when going from landscape to portrait

I've been doing some research about viewport issues in iPod and iPhone 4's Safari, but i can't find any answer on this matter. There are several threads about issues going from portrait to landscape, but not from landscape to portrait. The issue is…
Alfie Barboza
  • 113
  • 2
  • 7
3
votes
1 answer

iPhone4 iOS5 battery level monitoring do I need to add setBatteryMonitoringEnabled:NO to periodic battery checks?

I'm running an app that samples accelerometer and gyroscope data overnight. This is a very battery intensive operation, and I would like to teach my app to recognize when the battery is getting low. Here's my prototype code, which checks the…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
3
votes
1 answer

iPhone4 iOS5 how to save MPMediaItem with Core Data?

I'm trying to save a list of music files that the user has selected from the iPod music library. To do so, I get a list of persistentIDs which I will use to query the library later. I do this as follows: NSNumber* persistentID = [mediaItem…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
3
votes
1 answer

iPhone 4 web-app browser width: 960 or 981?

noober
  • 4,819
  • 12
  • 49
  • 85
3
votes
3 answers

What can be the iPhone 4 (retina) screen's dimensions

I have a PNG picture which I should use in my iPhone application, but first of all, I have to give it the dimensions of an iPhone 4 retina screen. Does any one know what could it be its dimensions or how to do that?
Malloc
  • 15,434
  • 34
  • 105
  • 192
3
votes
4 answers

How to handle hi res and low res of application's Icon.png for iPhone and iPhone4

I have already provided both Icon.png (for iPhone) and Icon@2X.png (for iPhone4). The thing is, when I just provided Icon.png of size 144x144, the console outputs this message: "iPhone/iPod Touch: Icon.png: icon dimensions (144 x 144) don't meet…
eunique0216
  • 875
  • 1
  • 16
  • 28
1 2
3
20 21