Questions tagged [ios-4.2]

For issues relating to using iOS, version 4.2.

iOS is an operating system for mobile devices developed by Apple Inc that they currently use in their iPhone, iPod touch and iPad devices. It is optimized for portable (including handheld) hardware with touch interfaces.

See also for further information.

310 questions
1
vote
2 answers

iOS - Rotation with a Nav Controller

It's a small but annoying issue. I'm using a navigation controller and it will not rotate. I was using the code before without a navigation controller and it was rotating beautifully. It isn't even calling…
Mytheral
  • 3,929
  • 7
  • 34
  • 57
1
vote
3 answers

Execute a "prepared" math operation in Objective-C

I want to to math operations with some kind of prepared formula that would look like tan(%f)*1000 or %f+%f where the %f has to be replaced by an argument. Is there a function in Objective-C that I can pass the format of my formula and the required…
Björn Kaiser
  • 9,882
  • 4
  • 37
  • 57
1
vote
3 answers

Can we go to main TableView from any DetailView when we click Back button?

I am making an application which has a main TableView in which every cell has details. when cell is clicked DetailView of that cell shows details. DetailView also has next and prev button from which we can go to next cell information without going…
Piscean
  • 3,069
  • 12
  • 47
  • 96
1
vote
1 answer

Error in iPhone SDK : GDB:Data formatters temporarily unavailable, will re-try after a 'continue'

I try to run my iPhone app on the device, which has iOS 4.2.1 installed on it. I get the following error in xcode and the app crashes out after that. GDB:Data formatters temporarily unavailable, will re-try after a 'continue'. Here is a screenshot…
Meghan
  • 1,004
  • 1
  • 15
  • 34
1
vote
2 answers

iOS 4.2 DateFormatter

The following code worked in my app previous to iOS 4.2. NSString *sunday = @"2011-03-13 20:15 -04:00"; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm Z"]; NSDate *myDate =…
Jason McCreary
  • 71,546
  • 23
  • 135
  • 174
1
vote
0 answers

Building a universal app for iOS 3.1, iOS 3.2 using iOS SDK 4.2

I have a universal app which was originally built for iOS4.2. Since this project does not use many 4.0+ specific APIs, I would like to build this app with deployment target set to 3.1. It gets built with no problems. But when I install and start…
Engin Kurutepe
  • 6,719
  • 3
  • 34
  • 64
1
vote
1 answer

Looking for direction for a Custom Gesture like swipe to scroll

I'm trying to have a sort of gesture that will seamlessly switch between a group of images this part I have sorted. The part that is catching me up is the gesture to do so and how I might introduce acceleration. Basically the user would swipe as…
Mytheral
  • 3,929
  • 7
  • 34
  • 57
1
vote
1 answer

Memory Warning when I just open the app, ONLY on 4.2 or later

Friends, I was testing my app on iPad3.2. It was running well.Then I tested the same binary in iPad 4.2.1,It shows Memory warning Level-1 in a seconds after I open the app (Before i make my first touch on the screen after Startup). I just added a…
gopikrishnan
  • 198
  • 2
  • 12
1
vote
3 answers

copying object from NSMutableArray to another using IF statement

OK, maybe I'm not seeing clear anymore and hope you can help. I'm trying to select an Object from a NSMutableArray using: if([car.seat isEqualToString:@"fancyOne"]){ fancyThings = [[NSMUtableArray]init]; [fancyThings addObjects: car]; } Now…
Eddy
  • 11
  • 2
1
vote
1 answer

dateFromString returns nil on iOS 4.2, works fine on 3.2!

I am converting a string returned from server to NSDate object for further use. Here is the sample string from server: 2011-01-14T16:05:48.555+05:00 And, I use [dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ss"]; I am able to successfully convert…
Imran Raheem
  • 890
  • 8
  • 25
1
vote
2 answers

Changing font formattings of selected word/line in a UITextView

Has anyone tried to change the font formatting(bold/italic/color) of a selected word or sentence in a UITextView, like a text editor application? I have been trying to do this but it seems formatting is applied only to the whole text, not on…
Vin
  • 10,517
  • 10
  • 58
  • 71
1
vote
2 answers

How to make tableviewcell text editable on touch in iPhone SDK?

In my iPhone app, I have a table view. I want that when the user selects (or basically touches) on the cell of the tableview then he/she should be able to edit the cell contents. How can I do that?
Parth Bhatt
  • 19,381
  • 28
  • 133
  • 216
1
vote
1 answer

NSUserDefault problem in iOS 4.2

I have prepared a "Settings.bundle" file that contains plist with properties. However, after I compile and load the app, I can't find the those properties in [NSUserDefaults standardUserDefaults]. After I go to the settings and modify the…
subchap
  • 847
  • 2
  • 10
  • 15
1
vote
3 answers

iOS modal popover in landscape positioning bug?

I am having strange problems presenting modal views from landscape orientation. The problem can be recreated by simply starting with a new view-based application and doing the following: Create a new UIViewController subclass that will be…
1
vote
1 answer

IOS4.2 app quits with EXC_BAD_ACCESS

An iPad app that runs fine under IOS3 fails under IOS4.2 It has a class that runs an http session from an operation queue and the failure is linked to this activity. Here is the console output: Program received signal: “EXC_BAD_ACCESS”. [Switching…