I'm writting an iPhone client that downloads stuff from the net. Since the cellular network is not so fast, and files might be big, I wanted to improve upon the activity spinner with a progress bar.
So far so good, I'm using NSURLConnection and checking the Content-Length header to see how many bytes I will download. Then, in the didRec...
Hello
I have a TTPhotoViewController subclass working nicely. I need to be able to give the option of saving the image downloaded to the user's saved photos directory. But I am having problems actually retrieving a UIImage object from where I am
After looking through the API I have seen that TTPhoto (which is one of the properties of t...
i recently installed iphone sdk 4.0 on the laptop mac 10.6.4 snow lopeared
my iphone device OS firmware is 3.1.2 so can this new SDK 4.0 work on my iphone or i have to update my ipohone to work on OS 4
i mean is there somewhere in the new xcode to set the iphone to 3.1.2 ??
Many thanks for all
...
Can we send a recorded audio stream to the bluetooth Headset input, using the EASession object?
...
i am getting warning: incompatible Objective-C types assigning 'struct NSString *', expected 'struct NSMutableString *' on this line:-
Value = [Value stringByAppendingString:str];
I declared Value as
NSMutableString* Value;
How to rectify this?
...
Hello,
I'm playing around with audio routes in AVAudioSession at the moment and I'm wondering whether it is possible to output sound to multiple audio routes at the same time i.e. a sound playing from the speaker and a different sound playing in the headphones? Ideally I'd like to be able to play separate sounds via a dock connector (us...
Hi,
Is it possible to have my app running in a different language than the one that is set in the OS? I want to have a language switch in my app’s setting menu, where the user can e.g. select german for the app, while his system is running in english.
From what I’ve already read, it seems it’s not possible without having my own localiz...
Hi All,
I'm starting out with iPhone development, and have a bit of a problem with programming a UITableView which is a subpart of a regular UIViewController.
The Problem:
When tapping a row, the didSelectRowAtIndexPath generates an EXC_BAD_ACCESS (I've checked for the correct method signature. Whereas if I move the body of this metho...
Hi all,
i have developed a music application .i have run it in ipod .It is working properly .but now i want to distribute my application.For that i need to register my mac pc but my mac pc is not registered.So,please anybody help me or give any hints in how to register my mac pc for distributing my iphone app
when i am running my appli...
Hello!
I'm creating an iPhone application. I have two view controllers (the main one and an about window).
In the about view controller i have a UIButton which is linking to a IBAction in the view controller.
I'm getting:
2010-08-05 21:40:05.741 appname[9151:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentExceptio...
I have a plist where I place my strings, with type string.
When I access the strings in the plist, it doesnt interpret \n and \t.
So when I display these strings it will display \tTitle
and not Title with tab indention.
But if I use
#define str1 @"\tTitle"
and just place it in header files, it works.
Please help.
...
As far as I know there are 2 levels of memory warnings. applicationDidReceiveMemoryWarning doesn't come with the warning level. Is there a way to get this information?
...
I want to send a large amount of data to a server using NSURLConnection (and NSURLRequest). For this I create a bound pair of NSStreams (using CFStreamCreateBoundPair(...)). Then I pass the input stream to the NSURLRequest (-setHTTPBodyStream:) and schedule the output stream on the current run loop. When the run loop continues, I get the...
Hi,
I have a grouped tableview with two sections, and I want the cells (in editing mode) to look like the "add stocks view" in the stocks application from Apple. I want the delete button to be positioned directly over the cells, and not to the left of the cells.
Any ideas on how to do this?
Thanks!
...
How to add a return button for ABPersonViewController's navigationbar?
...
Hello everybody. I want to achieve something like an expand and collapse uitableviewcell. The part of collapsing and expanding on user tap has been achieved. but what i am looking for is the feature of showing more and less.
that is when the uitableviewcell has not expanded to show full view, the word more shud be displayed. and when t...
I am in the process of building my first iPhone app (xCode,objective-c) which has to communicate with an existing website using either a web service or WCF service. I have looked primarily at using a WCF service hosted in the website which can send and receive JSON (making it lightweight as opposed to the overhead of SOAP). However I am ...
I've created a modalviewcontroller and all the subviews are created by code. When I'm testing the app, I find a problem. Then main cause of the problem is that an app shouldn't support UpsideDown orientation, but devices may happen to be in that orientation.
If I:
Rotate the device to Portrait orientation, and then to UpsideDown mode ...
Hi every one for some reasons i can't use shake API , so iam using shake device via accelerometer , but i don't why iPhone 4 , iPad do not support this code !!! but works on all devices .. i don't know what's going on !
here is my code :
#define kAccelerationThreshold 2.2
#define kUpdateInterval (1.0f/10.0f)
@in...
I released an update to one of my apps recently. This update made some small changes to the data structure, which is causing problems for some people. I have got a hold of some crash reports and narrowed it down to the line in question, but for the life of me can't see anything wrong with it. I'm not able to replicate the problem at my e...