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
110
votes
5 answers

Developing cross platform mobile application

More and more mobile platforms are being launched and sdk's are available to developers. There are various mobile platform are available: Android, iOS, Moblin, Windows mobile 7, RIM, symbian, bada, maemo etc. And making of cross platform application…
sohilv
  • 1,712
  • 2
  • 16
  • 21
108
votes
20 answers

iPhone: How to switch tabs with an animation?

I'm switching tabs programmatically in a tab bar driven application using UITabBarController.selectedIndex. The problem I'm trying to solve is how to animate the transition between the views. ie. from the view of the current tab to the view of the…
drekka
  • 20,957
  • 14
  • 79
  • 135
94
votes
4 answers

How to cancel UIView block-based animation?

I've searched loads of SO stuff and in Apple's references, but still unable to manage my problem. What I have: A screen with 2 UIImageViews and 2 UIButtons connected to them 2 kinds of animation: Scaling up and then down of each image, one after…
raistlin
  • 4,298
  • 5
  • 32
  • 46
90
votes
11 answers

Convert a string into an int

I'm having trouble converting a string into an integer. I googled it but all I can find is how to convert an int into a string. Does anyone know how to do it the other way around? Thanks.
Yo_Its_Az
  • 2,043
  • 2
  • 18
  • 25
90
votes
6 answers

How to print or log the value of CGSize object?

I was trying to log (print) the value of CGSize object like this: CGSize sizeOfTab = CGSizeMake(self.frame.size.width/tabCount, 49); NSLog(@"size of tab is %@",sizeOfTab); Is there anything wrong in this code; my app is crashing while control…
Prasad
  • 1,904
  • 4
  • 19
  • 24
87
votes
1 answer

AVPlayer and MPMoviePlayerController differences

I am developing an iPhone application that needs to play videos. So far, I learned that there are at least two API's for achieving this; AVPlayer and MPMoviePlayerController. What are the main differences?
suse
  • 10,503
  • 23
  • 79
  • 113
87
votes
13 answers

Custom installed font not displayed correctly in UILabel

I'm trying to use a Helvetica Neue Condensed font which I got from the Adobe Font Collection Pro Package. Unfortunately, it seems to draw incorrectly when I use it within a UILabel. The line height seems to be calculated correctly (I think), but…
MikeQ
  • 1,817
  • 3
  • 19
  • 27
85
votes
4 answers

Using [UIColor colorWithRed:green:blue:alpha:] doesn't work with UITableView seperatorColor?

I'm trying to configure a dark gray seperator color. Why does the following do nothing? self.tableView.seperatorStyle = UITableViewCellSeperatorStyleSingleLine; self.tableView.seperatorColor = [UIColor colorWithRed: 127 green:127 blue:127…
skålfyfan
  • 4,931
  • 5
  • 41
  • 59
84
votes
8 answers

How to parse the Manifest.mbdb file in an iOS 4.0 iTunes Backup

In iOS 4.0 Apple has redesigned the backup process. iTunes used to store a list of filenames associated with backup files in the Manifest.plist file, but in iOS 4.0 it has moved this information to a Manifest.mbdb You can see an example of this…
Padraig
  • 1,569
  • 2
  • 15
  • 21
83
votes
10 answers

What programming languages can one use to develop iPhone, iPod Touch and iPad (iOS) applications?

What programming languages can one use to develop iPhone, iPod Touch and iPad (iOS) applications? Also are there plans in the future to expand the amount of programming languages that iOS will support?
pylonicon
80
votes
4 answers

Install Xcode 3.2.3 w/ iPhone SDK 4, get "Base SDK missing", can't see other SDKs

I created this community wiki to bind together a number of other Q/A's I've seen here on SO. If you're here, you've probably installed the final version of Xcode 3.2.3 with iPhone SDK 4 (download link, reg reqd), and then encountered one or both of…
Clay Bridges
  • 11,602
  • 10
  • 68
  • 118
77
votes
4 answers

iOS Private API Documentation

Is there a web site or project documenting private APIs for the iPhone SDK?
Richard Stelling
  • 25,607
  • 27
  • 108
  • 188
76
votes
6 answers

Determine if an app exists and launch that app on iOS

Is there a way to check iOS to see if another app has been installed and then launched? If memory serves me this was not possible in early versions but has this been changed?
Rob
  • 4,149
  • 5
  • 34
  • 48
76
votes
8 answers

using dispatch_sync in Grand Central Dispatch

Can anyone explain with really clear use cases what the purpose of dispatch_sync in GCD is for? I can't understand where and why I would have to use this. Thanks!
Rasputin Jones
  • 1,427
  • 2
  • 16
  • 24
76
votes
13 answers

How to compress/resize image on iOS before uploading to a server?

I'm currently uploading an image to a server using Imgur on iOS with the following code: NSData* imageData = UIImagePNGRepresentation(image); NSArray* paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString*…
joshholat
  • 3,371
  • 9
  • 39
  • 48