Questions tagged [ios4]

The 2010-2011 version of the iPhone/iPad/iPod Touch/Apple TV operating system family, made by Apple.

iOS 4 was made available to the public for the iPhone and iPod Touch on June 21, 2010. It has been succeeded by which was released on October 12, 2011. The latest version of iOS 4 is 4.3.5.

This is the first major iOS release to drop support for some devices. It is also the first major iOS release that iPod Touch users do not have to pay for.

Support

The iPhone 3G and iPod Touch 2nd generation have limited features, while the iPhone 4, iPhone 3GS, iPod Touch 3rd & 4th generation have all features enabled. The iPhone and iPod Touch 1st generation cannot run iOS 4.0 and above. iPad compatibility was added with the release of iOS 4.2.1 on November 22, 2010.

Related

10676 questions
4
votes
2 answers

loaded the "rootView" nib but didn't get a UITableView.'

I have developed a split view based applicaiton. And i am trying to add image to root view controller. For that i made RootView.xib manually and in MainWindow.xib I loaded rootViewController with this xib. But when i try building this i get this…
AmitMugal
  • 43
  • 1
  • 6
4
votes
2 answers

Setting Local Notifications on a new thread?

I need to know if it is possible to create a new thread to handle setting local notifications. My app depends heavily on these notifications, so I want to make the app work while the phone sets the notifications. Example: (now) you launch the app,…
Mazyod
  • 22,319
  • 10
  • 92
  • 157
4
votes
1 answer

Can I use CADisplayLink as an NSTimer?

I was wondering, can I use a CADisplayLink Timer instead of an NSTimer even though I'm not doing any animation? I'd like to call a certain method much like when using an NSTimer, only just at a much higher frequency (60 Hz would be nice), so I was…
Christian Gossain
  • 5,942
  • 12
  • 53
  • 85
4
votes
6 answers

Action sheet doesn't display when the MFMailComposeViewController's cancel button is tapped

I'm trying to incorporate MFMailComposeViewController in my app. When I present it modally, the send button works fine and the email is sent, which implies that the result sent to the delegate is right in that case. Whereas when I tap the cancel…
Anam
  • 61
  • 1
  • 5
4
votes
2 answers

Prevent NSRangeException in subarrayWithRange

I have this code which allows me to pass in an index, and selectively retrieve, a number of images in an array for a certain range length - depending on orientation. When in portrait the range should be be 20 items per index, and i have 43 items…
joec
  • 3,533
  • 10
  • 60
  • 89
4
votes
1 answer

Remove iPhone 4 double flash when taking photo?

There doesn't seem to be much documented on the flash API and how to alter it when using the camera so I'm hoping someone has already played around with this. Essentially I want to add camera functionality to my app but remove the double flash (I…
bijanv
  • 147
  • 1
  • 1
  • 10
4
votes
8 answers

UISwipeGestureRecognizer called twice

I'm having problems with a view I'm implementing. It's a view that shows a pdf page in a CATiledLayer. That tiled view is inside an UISCrollView. I had the view controlling itself as the "ZoomingPDFView" apple example. I made a few modifications so…
Pacu
  • 1,985
  • 20
  • 33
4
votes
5 answers

Audio will play in 3.2 sim but not in 4.x

This streaming audio app will play in 3.2 simulator, but not in 4.x sim or my 4.1 iPhone. The console logs are as follows: 4.0 Sim This GDB was configured as "x86_64-apple-darwin".Attaching to process 13237. [Switching to process 13237] 2010-11-15…
BergQuester
  • 6,167
  • 27
  • 39
4
votes
4 answers

iPhone - fast-app switching and iOS 4

I'm trying to get the following functionality in my iPhone app: When backgrounded, stays running (doesn't have to do any background work) When resumed, app picks up where it was left off I'm mainly wanting the same screen on my app still up, as…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
4
votes
2 answers

core audio guidance / primer

I've being doing some reading up on core audio for ios 4 with the aim of building a little test app. I'm pretty confused at this point in reseach with all the api's. Ideally what I want to know how to do is to extract a number of samples from two…
dubbeat
  • 7,706
  • 18
  • 70
  • 122
4
votes
1 answer

How do I make video resources retina display compliant?

I have an app that loads while a 2 second movie plays. Currently the app is out on the store and has all static content retina display compliant except this video. I have a 960x640 mp4 h.264 encoded video for the retina display and it works well in…
TahoeWolverine
  • 1,749
  • 2
  • 23
  • 31
4
votes
1 answer

Reverse Geocoding using latitude and longitude for iPhone

I need to reverse geocode based on latitude and longitude. Actually this is for my iPhone application where I get the latitude and longitude from core location api and pass that to the back end. Using those values server do the reverse geocoding and…
Dilshan
  • 3,231
  • 4
  • 39
  • 50
4
votes
2 answers

Migrate normal sqlite3 database to core data?

I have a normal pre-populated database. I want to migrate it to core data for my app. What is the best way to achieve this. By the way I have done these things, copied the recipes.sqlite database from apple's sample.exported a table sql. Rename the…
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256
4
votes
1 answer

removeAllAnimations

I use [self.view.layer removeAllAnimations]; for pause animation.but xcode says warning: no '-removeAllAnimations' method found why ?
SajjadZare
  • 2,487
  • 4
  • 38
  • 68
4
votes
1 answer

NSMutableArray how to properly addObjects and release

I am worried about than am I properly adding object and releasing them. What NSMutableArray actually contain - object's copy or just a pointer to them? What is the sequence in working with NSMutableArray? (alloc, init, work, release) How to retain…
yozhik
  • 4,644
  • 14
  • 65
  • 98