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

How to make an iphone and iphone4-retina compatible app (done in cocos2d) easily adapted to ipad?

My question is simple: 1. I made an iphone app all done in cocos2d. 2. I adapted it to iphone4-retina, with all PNG files have their -hd copy. Run in iPhone, the app displayed correctly (320x480). Run in iPhone4-retina, the app also displayed…
willzeng
  • 169
  • 1
  • 5
2
votes
1 answer

@2x images not loading in some iPhone 4 devices

I've added both image.png and image@2x.png in my resource folder. My problem is, in some iPhone4 devices it is loading the image@2x.png correctly while in some it is taking the image.png file. Please help me in this as I couldn't find any obvious…
Aaron
  • 1,342
  • 2
  • 16
  • 34
2
votes
2 answers

Upgrading a cocos2d iPhone game to work at iPhone4 resolution using @2x

I am trying to add art to my game for the iPhone4 resolution. The images i am using are twice the original and i have added the @2x suffix to the image names. When i load in a sprite like this: [CCSprite spritewithFile:@"example.png"]; where…
Tiddly
  • 1,620
  • 3
  • 21
  • 43
2
votes
0 answers

iPhone4 change IMEI?

Can I change the IMEI of an iPhone4? It is just a hypothetical question, I am preparing for a little presentation to show off how easy it is to "hide" yourselves from anyone unwanted (even the carrier) and how people use this to do not pay for…
fonix232
  • 2,132
  • 6
  • 39
  • 69
2
votes
1 answer

Best options to integrate my application with the Nike+ features of the iPhone 4G

How can I integrate my application with the Nike+ features of the iPhone 4G. I want to access the data captured and send that to my own applications. There seems to be limited information available on this topic. Any help is greatly appreciated.
mrjohn
  • 1,141
  • 2
  • 13
  • 21
2
votes
1 answer

iPhone 4 nib sizes

I want to do an iPhone 4 only app that uses the iAd AdBannerView. When I add this it has a fixed size of 320x50. How does this work with the higher resolution? Can someone explain how the higher resolution of the iPhone4 vs the previous devices work…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
2
votes
1 answer

Should we take iPhone 4-sized screenshots for app store submission?

So far I haven't been able to find the specifications for the iPhone screenshots we'll submit along with our application. (It's universal, so I'm also taking iPad screenshots.) Can they / should they be of iPhone 4 resolution (640x960 instead of…
zem
  • 1,257
  • 9
  • 15
2
votes
1 answer

Maximum size of UIImage tiles for iPhone 4

I have an iPhone app containing a large static image, which is sliced into 1024x1024 tiles and put in an UIScrollView. I'm not clear whether I can use larger tiles on the iPhone 4. If I want to support a double-res image for iPhone 4, should…
Matt
  • 412
  • 7
  • 17
2
votes
1 answer

Update UIView to ScaleFactor 2.0 for the iPhone4

I have a program running beautifully on my iPhone 4. It uses a class UIView I created (called TestView) to draw graphics using Quartz (very simply graphics such as just a few CG lines and circles). I need, however, to take advantage of the new…
XcrossY
  • 203
  • 2
  • 11
2
votes
2 answers

ld: -no_pie and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together error

When I try to execute my app from XCode 7 on my iPhone 4 I get the ld error: ld: -no_pie and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together What is that -no_pie, and how to fix the problem, without of course disabling…
Fabrizio Bartolomucci
  • 4,948
  • 8
  • 43
  • 75
2
votes
1 answer

Video with iPhone 3.0 OS application getting crash while running in iphone 4.0 OS

I am having a crash issue while playing video in iphone 4.0 OS. Actually, I have created application with base SDK 3.0 and now i am just installing application to 4.0 OS device. It is not working in that... I have debugged that issue and found that…
2
votes
1 answer

How can you turn on the led light on the iphone 4?

Possible Duplicate: Turn on torch/flash on iPhone 4 I just want to be able to turn on the led light. Is there a simple way to do this, or am I going to need to, say, set up the phone to take a video, simulate it videoing with the light on, but…
marty
  • 391
  • 1
  • 7
  • 15
2
votes
1 answer

Can't install an app build from testflight after upgrading to iOS 8

I have a big problem. I installed iOS 8.0.2 on my iphone 4s, and now try to install builds from testflight. I can install builds from 3 apps, but builds from one I can't. it asks me to install the build, I accept, and after nothing happens. I can't…
Astgh
  • 216
  • 4
  • 14
2
votes
1 answer

iPhone 4 iOS 7 Tableview lag when scrolling

I'm having some trouble with lag in my UITableview. There aren't any problems on an iPhone 5 and after I started caching images in an NSDictionary, the iPhone 4 with iOS 6 became very responsive. The problem remains on an iPhone 4 with iOS 7…
user3017247
2
votes
1 answer

Write to single channel pixelbuffer in OpenGl ES 2.0 for iOS

I am writing an iOS video applicaion using OpenGL ES 2.0 to do image processing. My input and output format of the video is YUV 4:2:0 which is the native pixel format for most devices after the iPhone 3GS. For the A5 processor and higher I simply…
Michel
  • 357
  • 1
  • 3
  • 12