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
3
votes
2 answers

How to remove Temporary Directory files fron iOS app?

i used code for remove Temporary Directory files when using device. -(void) clearAllTempFiles { NSString *path = NSTemporaryDirectory(); if ([path length] > 0) { NSError *error = nil; NSFileManager *fileManager =…
sreenivas
  • 399
  • 2
  • 5
  • 20
3
votes
1 answer

How to use native xib in phone gap?

i am using phone gap for an application in xcode.Now i want to create one native xib inside the same project.i will write appropriate code in objective-c.Now my doubt is .how to use/connect the xib into view that i have created in phone gap.Is there…
radeerocko
  • 39
  • 2
3
votes
2 answers

backgroundTimeRemaining returns (35791394 mins)?

I'm using beginBackgroundTaskWithExpirationHandler in my application. my understanding the max time given for background application to finish work is 10 minutes, but what i got when I printed the value of backgroundTimeRemaining is (35791394 mins)…
user836026
  • 10,608
  • 15
  • 73
  • 129
3
votes
1 answer

how to animate a UIView same as the working of presentModalViewController ( ie [self presentModalViewController:child animated:YES];)

I am new in ios development, Now i am doing some animation on my application.In my application has one menu on the bottom of main view and have two button one for hide the menu and other for show the menu .My needs is the show and hide function of…
John
  • 734
  • 3
  • 14
  • 30
3
votes
1 answer

NSUrlConnection to connect REST API - XCode 4.2 targetting iOS4 and iOS 5

I am developing an app that target at minimum iOS4 using XCode 4.2. Never done it before, and this is my first month developing iPhone app. I did some research and came accross ASIHTTPRequest - which is not maintained and even the developer…
friend
  • 1,909
  • 2
  • 21
  • 28
3
votes
6 answers

What is SUPER in Objective-C - iOS

I have a small question on what super means in xcode. For instance I have the following code. Would it work if i said [super dealloc] first in the dealloc method? Or should super always come last? What exactly is super - I know its the super class…
CodeGeek123
  • 4,341
  • 8
  • 50
  • 79
3
votes
1 answer

iPhone UI with Tableview or Scrollview?

I am wondering what the best practice is in iOS development when it comes to building the UI for a particular screen. Since it is possible to create custom cells for tableviews you can use a tableview to create just about any layout/UI that you…
user1070255
  • 103
  • 1
  • 7
3
votes
3 answers

Existing App: upgrade from iOS 4.2 to iOS 5.0

I rewrote an app I have on the iTunes store using iOS5. The original app had support for armv6 and armv7 on iOS 4.2 and higher. The new app has only support for armv7 on iOS5.0 and higher (since iOS5 API is only supported on armv7) So there's…
Jason
  • 13,563
  • 15
  • 74
  • 125
3
votes
1 answer

Making an image move from one view controller to another

In the native Photos app on the iPhone, when I share an image by email, a nice animation sequence happens: The image shrinks to the center of the screen the mail composer slides UNDER the image the image is scaled and positioned in the message…
Israel Roth
  • 441
  • 3
  • 9
3
votes
1 answer

Using Core Data and in insertMethod App crashes and give NSInternalInconsistencyException with error message Context already has a coordinator

i am implementing a core data example in xcode 4.2 at insertMethod (in MasterViewController.m class) my app crashes with a NSInternalInconsistencyException and error message: Context already has a coordinator; cannot replace. can any buddy tell me…
Ravi Sharma
  • 975
  • 11
  • 29
3
votes
2 answers

Localize iPad app at run time

I'm developing an app that require a localization at run time, i mean that it will be a button to change the language instantly, i've searched about localization and what i've found is how to localize the app depend on the iPhone international…
Scar
  • 3,460
  • 3
  • 26
  • 51
3
votes
1 answer

Cocos2d schedule interval decreaser

I have made a simple timer but in trying to increase the timers speed over time, so I basically want the timer to have an interval of 1.0 and every 10 seconds I want that timer's interval to decrease by 0.1 How can I go about doing that? [self…
sahil
  • 141
  • 1
  • 9
3
votes
1 answer

Using NSOperationQueue to perform iOS application initialization

Is it OK to use NSOperationQueue addOperationWithBlock to delay initialization code, so the app was not killed by an iOS watchdog? As we know iOS kills the app if it spends too much time in application: didFinishLaunchingWithOptions or in…
Anton Petrov
  • 782
  • 1
  • 8
  • 19
3
votes
1 answer

iPhone Core Graphics Animations

Is it possible to animate something that you have drawn using core graphics in a UIView's drawRect method? Say for example I have created a zigzag line by stroking a path. What if I want to animate something like the position of an individual point…
user1070255
  • 103
  • 1
  • 7
3
votes
3 answers

IOS: How to change the background image of a button when clicked?

I have a button that when it is clicked, it changes the text of a label. Here is a snippet of my code from my controller module (happydaysViewController.m): #import "happydaysViewController.h" @implementation…
tonyrocks
  • 559
  • 2
  • 10
  • 24