I have a UISearchDisplayController that displays some cells after a user has searched. After the user clicks on the cell, I am pushing a new view to my nav stack. How can I remove searchResultsTableView from the view so that when the user goes back, he doesn't see the searchResultsTableView?
...
I have some memory leak in my app which yet I cannot figure out why. If I release those objects the app crashes.
Is it a problem to approve my app by apple?
...
Hello all,
i have a table view in my application which shows rounded corners by default.
Is there any way to remove the rounded corners.
I have #import <QuartzCore/QuartzCore.h> in place and included the frame work as well.
eve the following code does not work
self.clipsToBounds = NO;
self.table.layer.cornerRadius = 0.0;
can an...
I need to test a client app on IPhone which connect to a WebServices.
This connection time out is check once/day at 6am.
So, we can only test "time-out" case only once/day.
I want to test more time/day. But I can not change on Web Service because of no authentication.
There a solution to use a proxy server to catch package, change sessi...
Is there any way of getting a key value from an NSDictionary based on its value? I can get the value based on the key in several ways but I need to get at the key.
Using the example below how would I be able to get the key if my value was QuestionType?
NSDictionary *question = [NSDictionary dictionaryWithObjectsAndKeys:
...
I am using AudioQueue Services to play audio in my app (AQPlayer borrowed from Speak Here) and I would like to know if it is possible to play the audio at a constant volume regardless of the iphone hardware volume.
Apple's phone.app keypad is an example of this, the tones play at the same volume regardless of your hardware volume.
...
I am implementing a web server API for my application, and I got stuck in the process of figuring out what authentication method I should use to authenticate requests by the users (and also by other client applications). I think that I did not really understand what OAuth and other authentication protocols are made for.
I want the authe...
In my Core Data model I have a property which is a NSDate, the user can change it and it is optional.
I would like to set this property's default value as today, I saw no way to do this in the Core Data Model so I subclassed NSManangedObject and added this code to the implementation file.
- (NSDate *)date {
return [NSDate date];
}
...
What is the meaning of this in Objective C?
int sqlite3_bind_int(sqlite3_stmt*, int, int)
...
On the page below, the popup date appears perfectly in all browsers except the iphone where it fails to position the date under the input but places it outside of the body of the page.
This seems to be a common problem and I would love it, happy to donate, if a cure can be found that can be explained to and implemented by me:
http://ww...
I want to flip the pdf pages on iphone. I load the pdf file on iphone but it is scrolling I want to flip pdf pages... please give me any helo
...
If I release the dueDate here I am having BAD_EXCESS in other place of my code. What am I doing wrong here?
invoice is a core date object/entity here.
NSDate *deliveryDate = [NSDate dateWithTimeIntervalSinceNow: - oneDayInSeconds * 7];
NSDate *dueDate = [[NSDate date] initWithTimeInterval:(NSTimeInterval) (oneDayInSeconds * 3) sinceDa...
hi i am new to iphone. what i need is when ever i click menu button (means iphones menu button not application button) of the iphone it will display two options like about and help when i click help it display some text and when i click about it display some web how can i done this. pls post some code thank u .
...
I have double number in a format like 34.123456789.
How can I change it to 34.123?
I want just 3 digits after the decimal point.
...
Say I have 5 UIImageViews, named
image1
image2
image3
image4
and image5.
And I have 5 buttons, which have their tag values set to the corresponding images that overlay them, so 1 - 5.
If button 1 is pressed, I get the tag value like so
NSNumber buttonNumber = [sender tag];
I then want to perform some methods on the corresponding...
I've got a problem with App localization when we tried to upgrad our App to iOS4:
We have few language localization files in our App, in the format of {language code}_{country_code}.lproj, for example for Swedish language in Sweden the name of localization file is sv_SE.lproj, and this works well in iOS 3.x. However after upgraded to iO...
can anybody help me?
thanks
...
What is the common use of plist? What kind of data we put in them? Is it always a dictionary kind of data we place in them? I believe we store them in either documents, temp or cache directory at run time, is it correct?
...
What I want is having my iPhone app aware of shaking gesture all the time except when any UITextfield or UITextview become firstResponder.
(I followed this: http://stackoverflow.com/questions/150446/how-do-i-detect-when-someone-shakes-an-iphone/1351486#1351486I)
I subclass UIWindow and implemented motionEnded:withEvent: method and it w...
I am given some data in a callback function to write to disk sequentially, about 4KB every 0.02 seconds. If I fwrite() from the thread the callback function is in, I get some lag in other parts of code in same thread. So in order to not block this thread while writing to disk, I want to move the fwrite code to another thread. The problem...