I am have some PDFs in my app. I want to provide an option to open those in other third party e-readers that might be installed on the device, like Stanza and iBooks. Dropbox application has successfully implemented this feature and I can't find any information on how to detect what other e-readers are available on the device or what t...
I have a class called Chair.
I have a view controller that contains an object of type Chair.
At some point, I am trying to assign my viewcontrollers instance to another instance of a Chair object as such:
[viewcontroller setChair: thisChair];
My setter looks as such:
- (void) setChair:(Chair *)thisEntryChair;
{
myVCChair = ...
I am trying to change the size of a webView when the website changes. What I need is to check the UIWebview's URL to see if it matches the one I am looking for. Or just changes at all.
...
I am using a method to create a location manager if it doesn't exist and start it. It checks if the user has location services disabled and respects that unless a BOOL is given to start the services anyway. The method returns a BOOL to indicate services have been started or not.
This works fine for starting the service and prompting the...
Hi,
I wanna merge a .caf file and a .mp3 file to a .mp3 file on iPhone,or I can convert them to .aac and then merge them.How can I do this ?
(Just Like Kala OK,I wanna merge my voice and the music together)
...
Right now, I am setting the title in the viewDidLoad of the root view of the tab, which only changes when I click on the tab. I want this to be set before I select the tab. I tried something like:
[[self.parentViewController.tabBarController.tabBar.items objectAtIndex:2] title] = @"string";
in the first view that loads in another tab,...
I saw there is a method for synchronous, like if I wanted to do something like:
-(IBAction)doNSURLConnSync {
NSURLRequest *request = [NSURLRequest requestWithURL:url];
NSError *error = nil;
NSURLResponse *response = nil;
[NSURLConnection sendSynchronousRequest:request returningRespon...
I am looking at my crash logs and noticed "failed to resume in time"
Application Specific Information:
com.myApp.MyApp failed to resume in time
elapsed total CPU time (seconds): 0.680 (user 0.350, system 0.330), 7% CPU
elapsed application CPU time (seconds): 0.130, 1% CPU
How can I resume in time?
...
I want to run My iphone App in iPad without Pressing 2X Button. When I follow the following steps, I could not run My App in iPad simulator without using 2x...
Open the Xcode project for your existing iPhone application.
Select the target for your iPhone application.
Select Project > Upgrade Current Target for iPad and follow the promp...
Hi,
I want to convert a CGPoint from my UIView to UIWindow coordinates and have realized that UIApplication keyWindow is always nil, how come is this?
I have tried convertPoint:toView: method form UIView.
Please see this sample code I tried in the view controller in a template of Xcode (View application):
- (void)viewDidLoad {
[...
I have an iPad app in which I get the device's UDID by the following code in the viewDidLoad method.
uid = [[UIDevice currentDevice] uniqueIdentifier];
uid = [uid stringByReplacingOccurrencesOfString:@"-" withString:@""];
I wanted to remove the dashes in the string.
Later, in another method call, I try to access this uid string (whic...
I want to create a json file from from exsited plist file. How do I create json file from plist file using programg language (Javascript or Java or Objectiv-c or Python or Ruby)?
...
Hi,
I am following the tutorial http://www.bit-101.com/blog/?p=2115.In this tutorial i found a project template and go through it to begin....
I have downloaded cocos2d-iphone-0.99.1 add the subdirectory
cocos2d to project….but when i built i got 9 error and 4 worning
Scene.h: No such file or directory
Director’ undeclared (first ...
I am creating two apps, let's call them Foo Bar and Foo Bar Pro. When I install them and open iTunes, I see both apps there, but they both say Foo Bar because "Foo Bar Pro" won't fit as a bundle display name. However, in iTunes, I want to see "Foo Bar" and "Foo Bar Pro".
I see a whole bunch of other apps with really long names in iTun...
I'm a newcomer to the iPhone world. I'm working on an application having a login page. I have to send the UIText value of the username and password values to the server with the help of SOAP. I am having no ideas regarding this.
Can you help me?
...
I've been trying to implement NSXMLParser and so far I've had memory issues, performance issues or it doesn't work.
I worked originally from a example off the net and it leaked a heap of memory. I released the objects properly but found that there was a performance hit because I would alloc and then release each object for each element....
I'm now trying to connect my iPod Touch(iOS4 jailbroken) with Ecomote(a small embedded system) through serial port. I just followed this instruction: http://hcgilje.wordpress.com/2010/02/15/iphone-serial-communication/.
All things going well except that I need to move my application to /Application/MyApp.app and chmod it to 777. However...
Looking to build a smartphone (iPhone/Android/Blackberry) web app that accesses a .Net app, which in turn will fax a photo you've taken with your smartphone.
Has anyone used any 3rd-party internet fax services like this? Any recommendations?
...
Hello everyone
I hope to know what is the absolute path of storing audio, video and photos.
Are they in a same path?
I know I can use UIImagePicker to access saved photo.
Are there standard sdk/frame to access audio video?
or I need to construct the codes by myself?
Thanks
interdev
...
I'm getting a very strange crash due to iAd. Here's the debugger output:
2010-07-29 17:25:57.032 MemoryMatcherFree[5326:307] -[__NSOperationInternal bannerViewDidLoadAd:]: unrecognized selector sent to instance 0x13fda0
2010-07-29 17:25:57.051 MemoryMatcherFree[5326:307] *** Terminating app due to uncaught exception 'NSInvalidArgumentE...