Much of my code is based off of Apple's TableSearch example, however my app contains 35,000 cells that need to be searched rather than the few in the example. There isn't much documentation online about UISearchDisplayController since it is relatively new. The code I am using is as follows:
- (void)filterContentForSearchText:(NSString...
I have a UIBarButtonItem opening an action sheet to offer users choices about what to do. Everything works as expected unless I try to click on the "Cancel" button. The target of the button appears to have moved up from where it should be. I can only activate it by clicking somewhere in the middle of the "Cancel" and "Ok" buttons.
I'...
I have a table view and after I turned on the editing and re-ordered one of the cells, all cells would go back to normal, but the cell I moved remain in editing mode. Any idea why and how to fix this?
...
I'd like to reuse the scale icon that's used by the media player on the iphone. Does anyone know how I can do that?
...
I downloaded MGTwitterEngine and added to my iPhone project. It's connecting and getting statues I can tell from dumping them into an NSLog. But, I can't figure out how how I need to parse the calls so I can add them to a table. They are returned as an NSString and look like this:
{
"created_at" = 2009-07-25 15:28:41 -0500;
...
here is the code: http://pastie.org/562956
this code crashes on the call to itemsArray.count on "didSelectRowAtIndexPath". I don't get why... itemsArray is accessed for other methods like "numberOfRowsInSection". why would it all of a sudden get dereferenced ( I assume that is what is happening).
here is the output (dunno what's up...
hi
1) i developed one application.. it is working fine in simulator. does it work in real
iPhone with out any modification..
2)
a) when i select in xcode projectmenu -> SetActiveSDK -> Device-iPhone OS 2.2 getting one
error. but i can't see what is the error, how to solve this ?.
b) if it is not working with Devic...
I have a segmented control being used as a toggle. When toggled, I switch a bunch of contents around in a table view which takes a tiny but noticeable amount of time (inserting/deleting sections in the table view, animating the change, etc). I want the segmented control to respond to the selection immediately. So in my action handlin...
Hi All,
I have made some apps in 2.2.1 now when I run the same app in 3.1 it gives errors.
Changing the codes is a solution I am not looking for.
I am looking for some pre-processor directives that can make my app compatible to both SDKs.
Something like #ifdef.
Thank You All.
...
I initialize an AVAudioPlayer instance:
NSString* path = [[NSBundle mainBundle] pathForResource:@"foo" ofType:@"wav"];
AVAudioPlayer* player =[[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:nil]; //Returned object not nil, indicating that the file has loaded successfully
BOOL b = [player prepareToPlay];...
I was wondering if anyone had any hard numbers on ARM vs Thumb code performance on iPhone 3GS. Specifically for non-floating point (VFP or NEON) code - I'm aware of the issues with floating point performance in Thumb mode.
Is there a point where the extra code size of bigger ARM instructions becomes a performance hazard? In other words,...
Hi all,
I have few application developed in 2.2.1.When i am running this with 3.0 few errors are displayed.Now i want to write some code around this error to support the version which is selected.
Had anybody developed an application which run on both version of iphone.Small snippet will be appreciated.Thanks in Advance.
...
Hi,
My iphone application is recording audio and save it also, but now I want to trim the audio (like iPhone core application 'Voice Memo') after saving, is it possible? or how can i do this thing?
Thank you.
...
Hello,
I'm using cocos2d version 0.73, 2.2.1 SDK on the device, 2.2.1 and 3.0 on the simulator.
I have a layer with 2 menu items, and a sprite that's being dragged over the screen (using ccTouchesBegan, ccTouchesMoved and ccTouchesEnded).
It's all working good on the simulator, but on the device - the menu items can be pressed many ti...
I have a iPhone app that connects to an IP camera and retrieve MJPEG data using GET method. Everything seems to work find on the simulator, but on the device the UI seems to be blocking: Whenever i receive an image data, I load it into uiimageview. It seems like the only way out is to have AsyncSocket running on a background thread and...
hi
i developed one iPhone application, in it i used sqlite3 for data storage . it is working
fine in emulator. i have one doubt that is ,when we install this application in a real iPhone is it working properly with out any additional process..
i mean is there any need to install sqlite3 in iPhone separately ?
pls help me ..
tha...
Hi,
I was wondering whether the following scenario is possible; let's say a user draws his own drawing (including text and lines) over another, could the result be saved and then uploaded?
Thanks in advance!
...
I am working on a iPhone Application
My requirement is,
When i open my app it must open a globe we can rotate the globe by touching it.We have to pin point the important cities like maps.When we click on the pin we have to zoom in and show the city nearer.
Is it possible to do it by using MKMapView.Can you please Help me.
...
Hi everybody.
I'm currently trying to add a facebook functionnality to my iPhone game (Tikitic, on the appstore! :))
It seems to be quite easy to make a facebook connexion by invoking the FBLoginDialog dialog.
But I would like, with a login and a pass saved in the userdefaults, connect automatically to my account.
Does it exist a meth...
Hi,
Is it possible on the iPhone to access ipod folder in order to play in my app music that user chooses?
Thanks.
...