Questions tagged [ios5]

iOS 5 is Apple's fifth mobile operating system, released on Oct 13, 2011. It runs on iPhone 3GS, iPhone 4, iPhone 4S, iPod Touch 3rd and 4th generation, as well as all iPad models. It was succeeded by iOS 6.

iOS 5 is the fifth version of the iOS mobile operating system designed by Apple Inc. It was released by Apple on Oct 12, 2011, and runs on

  • iPhone: iPhone 3GS, iPhone 4 and iPhone 4S
  • iPad: iPad, iPad 2 and iPad 3rd generation (with Version 5.1)
  • iPod: 3rd and 4th generation

iOS 5 Software Update v1.0

This update provided over 200 features like Notification Center, iMessage, Newsstand, Reminders, on-device setup and many more (see the Wikipedia iOS History article for more information).

It was preceded by (whose final version was 4.3.5) and succeeded by , which was released on September 19, 2012.

See also for further information.

Related

11775 questions
380
votes
8 answers

Objective-C ARC: strong vs retain and weak vs assign

There are two new memory management attributes for properties introduced by ARC, strong and weak. Apart from copy, which is obviously something completely different, are there any differences between strong vs retain and weak vs assign? From my…
Jakub Arnold
  • 85,596
  • 89
  • 230
  • 327
290
votes
10 answers

Semantic Issue: Property's synthesized getter follows Cocoa naming convention for returning 'owned' objects

I'm currently using the iOS 5 SDK trying to develop my app. I'm trying to make an NSString a property, and then to synthesize it in the .m file (I have done this before with no issues). Now, I came across this: "Semantic Issue: Property's…
Noam
  • 3,100
  • 3
  • 16
  • 19
213
votes
18 answers

Custom Cell Row Height setting in storyboard is not responding

I am trying to adjust the cell height for one of the cells on my table view. I am adjusting the size from the "row height" setting inside the "size inspector" of the cell in question. When I run the app on my iPhone the cell has the default size set…
zirinisp
  • 9,971
  • 5
  • 32
  • 38
183
votes
4 answers

Disable Automatic Reference Counting for Some Files

I have downloaded the iOS 5 SDK and found that ARC is a great feature of the new Apple compiler. For the time being, many third party frameworks don't support ARC. Could I use ARC for my new code and keep the current retain/release code unchanged?…
nonamelive
  • 6,510
  • 8
  • 40
  • 47
180
votes
16 answers

How to Implement Custom Table View Section Headers and Footers with Storyboard

Without using a storyboard we could simply drag a UIView onto the canvas, lay it out and then set it in the tableView:viewForHeaderInSection or tableView:viewForFooterInSection delegate methods. How do we accomplish this with a StoryBoard where we…
Seamus
  • 3,191
  • 3
  • 22
  • 20
169
votes
18 answers

Is it possible to Turn page programmatically in UIPageViewController?

Is it possible to turn page programmatically in UIPageViewController?
RAGOpoR
  • 8,118
  • 19
  • 64
  • 97
167
votes
6 answers

What is the difference between a .xib file and a .storyboard?

Can someone explain in simple words the difference between .xib and .storyboard?
gsach
  • 5,715
  • 7
  • 27
  • 42
160
votes
1 answer

Xcode 4.2 - declaration of '...' will not be visible outside of this function warning

I use Apple Reachability class from Apple Sample code Reachability in Xcode 4.2 and new Apple 3.0 compiler I get warning in this class that + (Reachability*) reachabilityWithAddress: (const struct sockaddr_in*) hostAddress; declaration of 'struct…
Sergnsk
  • 3,305
  • 3
  • 23
  • 28
158
votes
5 answers

How do I deserialize a JSON string into an NSDictionary? (For iOS 5+)

In my iOS 5 app, I have an NSString that contains a JSON string. I would like to deserialize that JSON string representation into a native NSDictionary object. "{\"password\" : \"1234\", \"user\" : \"andreas\"}" I tried the following…
Andreas
  • 397
  • 4
  • 18
  • 37
153
votes
6 answers

Enabling auto layout in iOS 6 while remaining backwards compatible with iOS 5

What is the best way to take advantage of the new auto layout features of iOS 6 while still providing compability with older devices on earlier versions of iOS?
sglantz
  • 2,063
  • 4
  • 20
  • 30
143
votes
9 answers

How to get root view controller?

I need an instance of root view controller. I tried those approaches: UIViewController *rootViewController = (UIViewController*)[[[UIApplication sharedApplication] keyWindow] rootViewController]; Returns: null: Also when I try to get an array of…
Streetboy
  • 4,351
  • 12
  • 56
  • 101
139
votes
25 answers

iOS 5 fixed positioning and virtual keyboard

I have a mobile website which has a div pinned to the bottom of the screen via position:fixed. All works fine in iOS 5 (I'm testing on an iPod Touch) until I'm on a page with a form. When I tap into an input field and the virtual keyboard appears,…
jeffc
  • 1,391
  • 2
  • 9
  • 5
137
votes
6 answers

Segue to another storyboard?

Is it possible to segue from one storyboard to another, or to embed a storyboard in a view controller in another storyboard? I need to place a UITabBarController in a UINavigationController, and I'd like to keep them nice and separate.
Ry-
  • 218,210
  • 55
  • 464
  • 476
135
votes
5 answers

Some questions about Automatic Reference Counting in iOS5 SDK

I'm currently developing an app for iPad. The development started for iOS 4.2 and is now continuing (and I think will be completed) for iOS 4.3. I just read about ARC in iOS 5, and basically I understood that we will never need to release and retain…
Luke47
  • 1,583
  • 3
  • 11
  • 14
128
votes
16 answers

How to use single storyboard uiviewcontroller for multiple subclass

Let say I have a storyboard that contains UINavigationController as initial view controller. Its root view controller is subclass of UITableViewController, which is BasicViewController. It has IBAction which is connected to right navigation button…
Agustinus Verdy
  • 7,267
  • 6
  • 26
  • 28
1
2 3
99 100