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
3
votes
1 answer

Easy way of exporting @2x images for retina display?

I am creating a lot of webviews that must be compatible with both the iPhone 4 retina display and pre-iPhone 4 devices. It's painstaking to export multiple files for each image. Is there a script or utility to automate this process?
thebossman
  • 4,598
  • 11
  • 34
  • 45
3
votes
2 answers

CoreGraphics slower on iPhone4 than on 3G/3GS

I have a chart drawn with CoreGraphics. This chart can be scrolled horizontally and it's drawn as we scroll it. The problem is that on 3G/3GS the speed and performance of the scroll is good but on iPhone 4 is slower than expected. I suppose this is…
emenegro
  • 6,901
  • 10
  • 45
  • 68
3
votes
2 answers

iPhone 4 apps automatically scale up on iPad?

I thought I read/saw/heard something saying that apps built for iPhone 4's Retina Display would automatically run at 640x960 when installed on an iPad. However, can't find any documentation on that specific feature, and my app still runs at 320x480…
James J
  • 6,428
  • 6
  • 35
  • 45
3
votes
1 answer

Changing Image quality for the iPhone 4 users in an iPhone app

I want to display an image to my users which is larger than the screen area and will overscroll to let the users drag it around and zoom in. Do I need different images with different dpi for iPhone 4 users because of the higher resolution? Or can I…
Jon Winstanley
  • 23,010
  • 22
  • 73
  • 116
3
votes
2 answers

iPhone/ios 8: buffer limit on html5 media capture?

I've got a test page with the following line of HTML5 Media Capture code (and nothing else other than a form submit button): On an iPhone 4s with ios 8.1.2 the code only works sometimes. …
sideroxylon
  • 4,338
  • 1
  • 22
  • 40
3
votes
0 answers

Cannot change cameraFlashMode for UIImagePickerController iphone 4 custom cameraOverlayView

Question: Why imagePickerController.cameraFlashMode always returns 0 on iphone 4 and returns correct values with iphone 5 ? I init my UIImagePickerController and set the cameraFlashMode to…
manar
  • 151
  • 8
3
votes
1 answer

Slow performance of UIPageViewController in iPhone 4

This is bit unclear question, but I think it's my final resort. I've got app that utilizes UIPageViewController. It is working fine on iPhone 3GS, 4S and 5. But on iPhone 4 it is very laggy, unresponsive and animations are very slow. This is the…
Ertai
  • 1,735
  • 2
  • 23
  • 29
3
votes
1 answer

UIImageview programmilly manage for iphone5 and iphone4

I have an Issue about UIImageView Manage by XIB file for iphone5 screen Height and Iphone4 Screen Height. I Try to Manage code for UIImageView like this ~ CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height; if ([UIScreen…
Mukesh
  • 93
  • 1
  • 7
2
votes
0 answers

Disable programmatically noise suppression mic on iPhone 4/4S

We have just launched an application on the AppStore very helpful and very friendly which appeals to a lot of people. The application name is BadSignal, it simulates the loss of the network. When you're on a phone call or during a conversation on…
Steeven
  • 21
  • 1
  • 2
2
votes
1 answer

iPhone - Should I create 2 diffrent sizes images for Retina & Not retina display dedive?

This my first time develop app's. According the Apple iOS Human interface guidelines, it says that UIBarButtonItem image sizes are Approximately 20 x 20 & Approximately 40 x 40. I know that 20x20 is for previous version device of iPhone4, and 40 x…
Johnny
  • 2,589
  • 2
  • 27
  • 34
2
votes
2 answers

iPhone4 iOS5 NSFetchedResultsController how to pick batch size?

I got 5 fetched results controllers now, and am adding my first one to actually work with data, rather than just displaying it. I expect the controller to manage up to 150 objects. What batch size should I choose to work with up to 5 objects a time,…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
2
votes
2 answers

iPhone 4 iOS5 how to include a text configuration file with the app?

I know how to read/write to local files on iOS using file handles. I can dynamically create and read/write form them. What I'm trying to do right now is to include a file, about 200 lines long with the app bundle, which I hope to parse and extract…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
2
votes
2 answers

Xcode 4 embed app version into the iOS app

Is it possible to access the app version that I specify in the xcode project setting from within the application? I'm trying to create an auto-updating "About" view controller, and it would be nice to receive bug reports listing the version of the…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
2
votes
1 answer

iPhone4 EXC_BAD_ACCESS for UIView after dealloc. How to debug?

I'm working with Apple's Accelerometer Graph Example: http://developer.apple.com/library/ios/#samplecode/AccelerometerGraph/Introduction/Intro.html I'm pushing 2 Graph Views onto a navigation controller: GraphViewController* graphViewController =…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
2
votes
2 answers

How can I change iphone simulator hardware configuration?

I want to change simulator to show retina display effect. I try to find where I can change the hardware configuration. But no result, I get. Do you know How do you change simulator to show retina display effect? And After change it, How can I…
bTagTiger
  • 1,261
  • 5
  • 23
  • 38