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
0
votes
1 answer

How to handle network in background State

I am sending email using SMTP Implementation .Now i am switching to another app network to be suspend. How to handle network not to be suspended. Regards, Arunkumar.P
0
votes
1 answer

system("killall SpringBoard"); not working in ios4.2.1?

So I had created an app that used the command system("killall SpringBoard"); and it has worked just fine on 4.0 - 4.1. I just recently began testing the app on 4.2 and it still works when I run it in simulator, but when I run it on the device…
DrBeak1
  • 11
  • 3
0
votes
3 answers

IOS4 UISplitViewController in Portrait Orientation with RootViewController showing like Landscape

In IOS 3.2 I was able to display my UISplitViewController side by side like in landscape mode. In IOS 4.2 the RootViewController (MasterView) is not showing up in portrait mode. Does anyone know if we need to display the rootviewcontroll in a…
Arcadian
  • 4,312
  • 12
  • 64
  • 107
0
votes
2 answers

NSStream on Background didn't call

- (void)applicationDidEnterBackground:(UIApplication *)application { NSOutputStream *outputStream; NSInputStream *inputStream; dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ [inputStream…
0
votes
2 answers

iPad Development detecting the device's version

I have an iPad app that makes use in UIPrintInfo (that is being supported from iOS 4.2 and above). I want my app to run on previous iOS version such as 3.2. How can I detect in my code the device's iOS version and make the necessary changes…
jkigel
  • 1,592
  • 6
  • 28
  • 49
0
votes
1 answer

Scrolling UITableView crashes only in iOS 4.2

I recently upgraded to xCode 3.2.5 and iOS 4.2 . After this, the app crashes while scrolling the table which has text fields. resignFirstResponder throws "EXEC_BAD_ACCESS" and crashes the app. The same code works perfect with earlier versions of…
sam22
  • 59
  • 1
  • 7
0
votes
1 answer

iPhone application deployment problem

I'm a new iPhone developer. I was made an iphone application and when i was finished i try to test on iphone devise surly i have an apple certificate ., i was loged in in my account in apple portal and follow the deploy hints ( i choose developing…
Adel
  • 648
  • 1
  • 9
  • 26
0
votes
1 answer

Making call from iphone application without exiting it from ios sdk4.0

i want to know whether their is any way in ios 4.0 and onwards to make a call from application without exiting the application. I have worked on this and got to know that their is not any way till iOS 3.1. So I want to know is iOS 4 supports it or…
Dipti Y W
  • 474
  • 1
  • 8
  • 26
0
votes
1 answer

IOS 4.0 code not running on IOS 4.2

I wrote a code on IOS SDK 4.0 and tried running on a device which contains IOS 4.2. I am seeing a empty navigation view. What changes in my code I should do to run it on the target version of SDK.
Abhinav
  • 37,684
  • 43
  • 191
  • 309
0
votes
2 answers

Updated to iOS 4.2 and now errors

I updated my SDk to iOS 4.2 and now my frameworks has a red-font and I have this error: * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSURL initFileURLWithPath:]: nil string parameter' What's wrong?
Christian 'fuzi' Orgler
  • 1,682
  • 8
  • 27
  • 51
0
votes
1 answer

Memory problems under 4.2?

A minor update to my app was rejected a few weeks ago because it crashed subsequent to a didReceiveMemoryWarning under iOS 4.2. The app had never had serious memory problems under previous versions of iOS. Now, even with 4.2.1, I get a level 2…
ed94133
  • 1,477
  • 2
  • 19
  • 40
0
votes
1 answer

animateWithDuration not available

i started a project with the iOS SDK 4.0 and want to use blocks in order to animate some UIViews. But after I recogized that "animateWithDuration" isn't available i updated my XCode and iOS SDK to 4.2. In my project I set the "base sdk" to 4.2,…
kiecodes
  • 1,642
  • 14
  • 28
0
votes
1 answer

iOS 4.2 camera and album problem

for some reason the same code I used to access the camera and photo album that used to work with previous iOS is not working. Whenever I open the camera application or the photo album the app crashes, and nothing appears on the crash log. I tested…
fede
  • 58
  • 1
  • 7
0
votes
1 answer

iphone sdk 4.2: UIBarButtonItem' s are misplaced over UIToolbar

I have installed 4.2 iphone sdk today and ran my project (which is written in 4.0) with 4.2. I noticed that toolbar items are misplaced over toolbar, both in ipad, iphone simulators. Is there anyone else other than me who has encountered with this?…
ozan k
  • 485
  • 5
  • 18
0
votes
3 answers

identifying the device for iPad iOS 4.2

I understood that iOS 4.2 is for iPad as well. The code below is the standard pattern which we all use for identifying the device. how will this change for the 4.2 iPad. Should i change the code to consider the device type rather than version ? #if…
thndrkiss
  • 4,515
  • 8
  • 57
  • 96