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

iOS: view height not set correctly in viewDidLoad

I have a view controller loaded from a nib where I have a scroll view defined with a height of 346 pixels. However when I do: int h = scrollView.frame.size.height; NSLog(@"%d",h); in viewDidLoad I get 375. I need the proper height in viewDidLoad…
Tom H
  • 1,316
  • 14
  • 26
2
votes
1 answer

What could cause my app to show a blank screen on startup after upgrading to iOS 4.2.1?

My app works fine on iOS 3.3, but after I upgraded my iPhone to iOS 4.2.1, I started to see some weird behaviour. When I start my app on the upgraded iPhone, it goes blank. I have to tap the Home button to close the app. The problem is, the app did…
harshit2811
  • 827
  • 1
  • 7
  • 21
2
votes
1 answer

'extractIdentityAndTrust' error and warning while using code sample from certificate, key and trust programming guide

I am trying to use the code from the 'Certificate,Key and trust programming guide'. In the section about extracting and evaluating an identity from a p12 file, I am getting error and warning from using the code given in the guide. The line status =…
Vin
  • 10,517
  • 10
  • 58
  • 71
2
votes
2 answers

Print from Mobile safari web app

Mobile safari for ios4.2 allow printing via air print. Is it possible to do the same via a web app using javascript i.e window.print(); ? I run my webapp using the follow meta tags.
2
votes
2 answers

Xcode SDK IOS 4.2 installation and missing iOS 4.1 in build settings

i have download Xcode SDK 4.2(xcode_3.2.5_and_ios_sdk_4.2_final.dmg) from Apple developer site and installed successfully . when open my old xcode project it shows baseSDk missing ,when i try to change project setting ,i have found and set base SDk…
Vasu Ashok
  • 1,413
  • 3
  • 17
  • 37
2
votes
1 answer

iPad App Crashes in 4.2 Distribution build only

I have a weird problem that hopefully someone could shed some light on. I have an ipad app in the AppStore that was released when 3.2 was the only available iOS for ipad. App ran fine on this iOS but as soon as 4.2.1 came out for ipad and some of…
freddyD
  • 25
  • 1
  • 6
2
votes
1 answer

How prevent data in an iOS app from being synced with iTunes

How can I prevent sensitive encrypted data stored on an iOS device from being automatically backed up by iTunes?
titaniumdecoy
  • 18,900
  • 17
  • 96
  • 133
2
votes
2 answers

NSDateFromatter not giving the proper MMMM value

this has been driving me crazy, someone please show me where i screwed it up. I have created a new project to test this as well. Environment is xcode 3.2.5 running in the simulator and on a device has same result. When i create a date formatter, and…
AtomRiot
  • 1,869
  • 3
  • 18
  • 24
2
votes
2 answers

Unable to display printer options with AirPrint

I want to add AirPrint functionality to my iPad application I have been trying to display printer ontions described in Apple's Drawing and Printing Guide I have toolbar and UIBarButtonItem *printButton. In controller I receive onPrintClick and try…
Serg
  • 21
  • 1
  • 2
2
votes
1 answer

Can't upgrade iPad to the latest build of iOS4.2

I have upgraded my iPad to iOS4.2 (gold master 8C134) but I didn't upgrade to the second gold master 8C134b. Now that iOS4.2 has been made available on iTune, the gold master image has been removed off the developer account, but I am stuck in the…
RocketMan
  • 4,289
  • 2
  • 26
  • 19
2
votes
2 answers

Submitting for App Store in 4.2: Strange "Whitespace" error from XCode submission validation

I originally submitted and was approved with the 4.1 SDK. I upgraded to the 4.2 and was making some fixes, and when I tried to submit to the App Store I got this message: "Filename may not contain whitespace." My info.plist had the default…
Daddy
  • 9,045
  • 7
  • 69
  • 98
2
votes
1 answer

Is there any way to set iPhone wallpaper programmatically in iOS 4.2 (beta)

I know this question has been asked before, but does anyone know if its possible to programmatically set the background image for the home screen (wallpaper) for the latest iphone OS iOS4.2 (beta). I know it wasn't possible before. I've seen that…
Mike P
  • 2,797
  • 2
  • 21
  • 25
2
votes
2 answers

setContentMode: for HJManagedImageV is not working for iOS

I am using a third party lib, HJCacheClasses, for loading images asynchronously. Here is the code for the same. It's pretty much straightforward: NSMutableString *url = @"my url"; HJManagedImageV *asyncImageView = [[HJManagedImageV alloc]…
Nik
  • 2,913
  • 7
  • 40
  • 66
2
votes
2 answers

Do I need to retain ownership on my custom NSURLConnection wrapper object? (In ARC environment)

Note: This similar SO question talks about how to build the same class, but doesn't address my memory management issues related to using the class. I would like to use sendAsynchronousRequest:queue:completionHandler:, however I need to support iOS…
bearMountain
  • 3,950
  • 1
  • 36
  • 44
1
vote
0 answers

how to fix the updating issues from ios4.2 to ios5?

I try to change the app which is in 4 to 5, during the build it shows the error like below. Can any one give the solution for this? Undefined symbols for architecture i386: "_OBJC_CLASS_$_FlurryAPI", referenced from: objc-class-ref in…
wesley
  • 859
  • 5
  • 15