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

Archiving project in Xcode incorrectly creates multi-application bundle

Archiving my project in Xcode is creating a multi-application bundle, instead of bundling my main target for release, which is what I want. Specifically, when I validate my archive in Organizer, it gives me the message: "[projectname] does not…
Jared Friedman
  • 4,379
  • 3
  • 18
  • 9
36
votes
3 answers

How to check if location services are enabled for a particular app prior to iOS 4.2?

How can I check if the user has allowed location for mu app? Normally I would use authorizationStatus method of the CLLocationManager class, but it is only available in iOS 4.2 and newer. Is it possible to achieve this somehow while still using SDK…
pajevic
  • 4,607
  • 4
  • 39
  • 73
30
votes
7 answers

How do I animate MKAnnotationView drop?

I have a custom MKAnnotationView where I set my image myself in viewForAnnotation. How do I animate it's drop like I can with MKPinAnnotationView? My code is - (MKAnnotationView *)mapView:(MKMapView *)map viewForAnnotation:(id…
24
votes
4 answers

Close the keyboard on UITextField

I'm a newbie developing for iOS devices. I inserted an UITextField on InterfaceBuilder, and I assigned with the code: @interface ComposeViewController : UIViewController { id delegate; IBOutlet UITextField…
Francesc
  • 1,339
  • 4
  • 16
  • 34
24
votes
3 answers

How to print in iOS 4.2?

I want to integrate the print functionality in my app. The document I want to print will be in .doc or .txt format. I am not very experienced in iPhone development yet, so finding it difficult to implement it by following the Apple documentation. If…
iPhoneDev
  • 1,547
  • 2
  • 13
  • 36
22
votes
9 answers

How do I get video into the iPhone simulator camera roll in iOS 4.2?

I've tried the solution described here and here, namely copying a QuickTime movie to ~/Library/Application Support/iPhone Simulator/User/Media/DCIM/100APPLE/VID_0001.m4v, but this doesn't seem to do anything, and I'm guessing something's changed…
David Moles
  • 48,006
  • 27
  • 136
  • 235
21
votes
11 answers

iPhone simulator folder not in Application Support

I am creating an application that write some data to the database. For checking I need to open the database in applications. I think it should be in ~/Library/Application Support/iphone simulator.... I have not found the iphone simulator folder in…
Arvind
  • 543
  • 1
  • 5
  • 17
19
votes
6 answers

Programmatically adding a shadow to a UIButton label

I'm trying to add a 1px black drop shadow to a button label with no luck. I've tried this:self.setTitleShadowOffset = CGSizeMake(0, -1); but I get: Request for member 'setTitleShadowOffset' in something not a structure or union Any suggestions…
edhog
  • 513
  • 2
  • 6
  • 25
17
votes
2 answers

replaceItemAtURL fails without error on iOS but works fine on OSX

I'm implementing a manually-triggered migration process for a CoreData-based app, and after the migration completes successfully, I'm trying to move the migrated DB back over the top of the original one using…
glenc
  • 3,132
  • 2
  • 26
  • 42
14
votes
1 answer

iOS 4.2 simulator files?

Where are the files associated with my app in the iOS 4.2 simulator - need to look at my sqllite DB and I can't find it.
Slee
  • 27,498
  • 52
  • 145
  • 243
13
votes
2 answers

3D Carousel effect on the iPad

I am trying to implement a 3D Carousel on the iPad, consisting of UIViews, an effect like what is shown over here. I have gone through many similar questions on SO, but didn't find any staisfactory answers or no answers at all. I am trying to…
Vin
  • 10,517
  • 10
  • 58
  • 71
13
votes
2 answers

How can I remove the badge number if I click on close button in push notification?

I am working with push notifications. When I get a notification it comes with 2 button, view and close. If I click on view it opens the app and when I click the close button it does nothing but a badge number appears on the app icon. Then when I…
Piscean
  • 3,069
  • 12
  • 47
  • 96
12
votes
3 answers

error: server did not accept client registration 68

I am trying to build and run the WhereamI.app example of the Big Nerd Ranch book: iOS Programming, chapter4. Compiling works just fine and it runs but the output to console is: server did not accept client registration 68, instead of providing the…
jason
  • 5,391
  • 6
  • 23
  • 26
12
votes
7 answers

App crashes with 4.2 iPhone simulator 'set start-with-shell off'

I'm writing application which perfectly works on 4.0/4.1 iPhone simulator, but not 4.2. I'm getting such warning: Detected an attempt to call a symbol in system libraries that is not present on the iPhone: fcntl$UNIX2003 called from function…
kesrut
  • 662
  • 1
  • 9
  • 25
11
votes
5 answers

number pad keyboard not show return key in iphone

I am new to iPhone technology. I've saved a problem in a iPhone application, but when i use textfield keyboard type number pad the keyboard doesn't show a return/done button. How can I hide the number pad keyboard after entering the number in the…
jaydev
  • 1,629
  • 5
  • 17
  • 31
1
2 3
20 21