Hello stackoverflow,
So I have been searching everywhere for a solution to this problem. I have a table view that displays a popover from a cell when the user selects it. However there is a bug but I can't figure out a solution. Basically once you scroll down off the first page of results, the popover always appears from the bottom o...
I have written code so that technically there should be two MPMoviePlayerControllers within the same view, both ready to play an audio file. What always happens is that one pops up and disappears, and the other comes up and stays, and is fully useable.
Any idea why one disappears? I'm not trying to play two at once, just want to give us...
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 you can change the lock screen on a jailbroken phone by writing to /var/mobile/Library/Lock...
I can't find anywhere definitively, if you build an app against the iOS 4 SDK, to thus support multitasking, does that mean the app won't work in iOS 3? If not, how can you support iOS features like multitasking but still support iOS 3? I'm sorry if there are Apple docs on this, I'm happy to read them, I just can't find them. Thank you...
This is weird. My application schedules local notifications whenever it is sent into the background, and while the first notification is being displayed correctly, as soon as the one after that should be fired, the whole application crashes. Yes, in the background. While no code is being executed.
No console output is given, I just get ...
My application features a tableview which contains some rather complex tableviewcells. Therefore, these cells have been designed in Interface Builder and are instanciated later as needed using UINib which allows just that - load the content from a nib and instanciate it as needed.
But UINib is only available for iOS 4.0 and above.
Befor...
Hello all,
So I am trying to implement a search bar in my app and am very close but can't seem to figure out where this memory error is occurring. This is what part of my search method looks like:
filters = [[NSMutableArray alloc] init];
NSString *searchText = detailSearch.text;
NSMutableArray *searchArray = [[NSMutableArray alloc] in...
I'd like to start testing iOS4.2 so I downloaded xcode 3.2.5 and iOS4.2 beta SDK. Unfortunately, I think it installed over my previous xcode 3.2.4 and SDK 4.1. Short of downloading 3.2.4 and 4.1 and installing to another directory, is there a way to get the 4.1 SDK into 3.2.5 and compile both SDK versions?
Thanks!
...
I am developing an iPhone application. I am unfamiliar with Xcode, so please bear with me. I have the iOS 4.1 Device SDK. When I select "Simulator" in the "Active ..." drop-down box, my application compiles without errors and runs in the iPhone simulator.
When I select "Device" in the drop-down box, however, I get the following linker e...
I would like to launch the Contacts.app when the user needs to add a contact. My app already reads from the contact API. I would rather not re-implement functionality if I can avoid it. I am targeting iOS 4.0 and above.
...
I have a lengthy operation O that is called through a NSInvocationOperation, itself scheduled by adding it to a NSOperationQueue so that it runs asynchronously. That lengthy operation O is invoked in two different cases in my app.
In case A, operation O is invoked as a result of tapping some widget in some view. As soon as the widget is...
Hi,
The swipe to delete functionality is not working in my table view. I have implemented the commitEditingStyle delegate and the Edit button in the navigation bar. Hence when the user clicks the edit button, the delete and add buttons show up appropriately. However, on swiping, the delete button does not appear and it seems like it doe...
Hi,
In my application I have a map, this map has a lot of annotations... but sometimes no location is found for an annotation (server couldn't find lat/lon). When this happens, I would like to draw a little box on my map with the text "Some locations could not be found" (or similar). I want this box to have round corners and to be trans...
I'm using Core data in an iOS project. I have the data model setup for automatic data migration whenever I modify entity properties. But I recently made some changes to some entity relationships and now my app crashes with: "Can't find model for source store"
I realize that resetting the app i.e deleting and re-installing will solve thi...
I had this piece of code im my app:
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:imgView cache:YES];
imgView.image = img2;
[UIView commitAnimations];
But use of this method is discouraged in iOS 4.0 and later, and I should u...
Is it possible to convert a UIImage instance to a CMSampleBufferRef so that it can be appended to a specified output file using AVAssetWriter's appendSampleBuffer: method?
If so ... how?
Thanks
...
I understand how to include a standard alert within my iPhone application, and can dismiss it with an OK or CLOSE button (see Epicurious example in image).
How can I make a cool alert/notice overlay like the one seen in the foursquare app (see foursquare example in image)? In particular, how to include the alert/notice layout with graph...
My app plays background audio using AVAudioPlayer and receives remote control events from iOS. Everything works fine while audio is playing, but if audio is paused and my app is moved into the background, something odd happens. If I use a bluetooth device to resume/unpause the audio after 10 minutes, iOS terminates my app with the foll...
I'm trying to make an iPhone SDK 4.1 app, and I'm having some trouble with my Navigation Controller. When I set my app to portrait mode, everything looks like it should. However, when I set the initial orientation to landscape in my plist file and add the shouldAutorotateToInterfaceOrientation function to my primary view controller, the ...
I've got a bizarre what-seems-like-a-over-release issue in a tab bar application. My advance apologies for the complexity of this problem description. Hopefully a little example code will help.
I have my application delegate MyAppDelegate set up as the UITabBarControllerDelegate:
- (BOOL)tabBarController:(UITabBarController *)tabBarC...