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

Has anyone been able to play a video file and show live camera feed at the same time in separate views on iOS?

I have been trying to do this for a few days now using AVFoundation as well as trying to use MPMoviePlayerViewController. The closest I can get is allowing one to play at a time. I would like to think that this is possible because of Facetime. …
brad_roush
  • 235
  • 1
  • 3
  • 10
4
votes
3 answers

Manually set interface orientation

Is there any easy way to manually set the orientation of an interface? I need to set the interface to portrait even though the device orientation might be in landscape during loading. Kinda want to stay away from CGAffineTransforms.
brad_roush
  • 235
  • 1
  • 3
  • 10
4
votes
3 answers

Backspace a plus sign (+) from a UITextField - weird bug

I googled this and found nothing - has anybody noticed! • Find a UITextField on an iOS 4.2 device - anywhere seems to work. • Type something then enter a plus sign (+). • Press backspace. The plus sign AND the next letter are deleted, as if you'd…
Ben Robinson
  • 1,602
  • 3
  • 16
  • 30
4
votes
3 answers

How can I force a UITableView to reloadData while keeping a UISearchBar active?

I've got a UITableView that has 20 sections. At the top I have a UISearchBar, and I want to filter the sections live as the user types. Unfortunately, if the UISearchBar is active and if I return NO from searchBarShouldEndEditing: then my…
MahatmaManic
  • 943
  • 1
  • 8
  • 16
4
votes
1 answer

Cannot find output .a of Cocoa Static Library (in xcode 4)

I have a project with two targets, one is a Cocoa Static Library, the other is the accompanying test project. Despite building the main project in different ways over and over again, I cannot find the .a file that I expect it to produce. In fact, I…
Mat Ryer
  • 3,797
  • 4
  • 26
  • 24
4
votes
1 answer

Is it possible to control top & bottom page margins when using UIMarkupTextPrintFormatter?

I'm trying to use the printing stuff in iOS 4.2 to print from my iPhone app, but I'm having real trouble getting multi-page content to display nicely. As you can see in the attached screenshots of PDFs generated through the iOS printing API,…
glenc
  • 3,132
  • 2
  • 26
  • 42
4
votes
2 answers

Can we display KML data on Google maps using Mapkit framework on iOS devices?

I have a requirement wherein I have to show some maps and some data corresponding to that maps. The problem is that the backend server uses MapXtreme to generate GIS data, and there is no MapX client for iOS devices. The server people tell me that…
Vin
  • 10,517
  • 10
  • 58
  • 71
4
votes
2 answers

How to customize the UIToolbar with buttons that contains colored images?

I have two questions about the UIToolbar: 1: I have read numerous Stackoverflow answers on how to use buttons with custom images (colored) in a UIToolbar. I have tried to put a view (hack) on top of the UIToolbar and put the buttons with the images…
Christofffer
  • 413
  • 1
  • 5
  • 15
4
votes
1 answer

UISplitViewcontroller with master UINavigationController and detail UINavigationController

We have a certain behaviour we require in our UISplitViewController application. We have the following hierarchy of 3 views FormOneViewController - TableViewController intialised in the MasterView FormTwoViewcontroller - TableViewCotnroller…
chris baxter
  • 41
  • 1
  • 2
4
votes
9 answers

Forcing an iPad app to show splitView even in Portrait orientation(Like the Settings iPad app)

I am trying to develop a splitView based iPad app, that displays the split interface in every orientation. I have tried subclassing the UISplitViewController class as given in this tutorial, but it doesn't work. I tried creating a category to set…
Vin
  • 10,517
  • 10
  • 58
  • 71
4
votes
1 answer

Can't run on device after installing iOS 4.2 and the 4.2 SDK

I installed iOS 4.2 on my 2nd-generation iPod Touch last week. I tried running my application on the device through Xcode, but it didn't work (because Xcode didn't yet support iOS 4). To solve that, I installed Xcode 3.2.5 and the iOS SDK 4.2. Now I…
Steve Nay
  • 2,819
  • 1
  • 30
  • 41
4
votes
2 answers

Compiling libpq with iOS SDK 4.2

I'm trying to compile again the libpq for arm and i386 with the iOS SDK 4.2. I did last year for SDK3.x without any problems. Now, when I want to create the fat binary file with two files, I'm getting this error: specifed architecture type (arm) for…
mongeta
  • 2,301
  • 2
  • 32
  • 42
4
votes
1 answer

deploy/debug app to iPod touch 2nd generation

I'm new to iOS development and I try to get a simple HelloWorld app running on my iPod touch 2nd generation (iOS 4.2.1). For development I use a MacBook Pro with Mountain Lion and Xcode 4.4.1, as Xcode 4.5 apparently doesn't support the armv6…
3
votes
1 answer

Create a UINavigationController iOS app without using storyboards with Xcode 4.3.2

I want to create an app for iPod Touch 2nd generation (iOS 4.2.1). For this target OS storyboards cannot be used. I want to use UINavigationControllers to manage several views. I've seen several tutorials on how to do this starting from a…
3
votes
2 answers

unrecognized selector sent to instance

I am creating one sample application in which i am reading database and displaying user image and name into tableview. but i am getting following exception [UIApplication userListMutableArray]: unrecognized selector sent to instance…