iphone

trouble getting multiple plot spaces to work in core-plot

I apologize for cross-posting to this and to the discussion list, but more eyes are better. I'm trying to create a discontinuous plot using the method described here: http://groups.google.com/group/coreplot-discuss/browse_thread/thread/..., and I'm having trouble getting the plots to render. I have one continuous plot that is associa...

current location dot and destination are far away for iphone

is it possible to adjust map so that it can show both current and destination point right now if my destination is far then i can only see detination but not current and if they are close then i can see both ...

Core Data - How to validate the uniqueness of an attribute within the scope of

Hi, I would like to know how to implement a validation in Core Data. What I'd like to do is ensure that an attribute is unique within the scope of a related parent object. In other words, I'm wondering how to implement the validates_uniqueness_of :field, :scope => :parent paradigm (from rails / activerecord) in Core Data. For example...

what is resolution of photo taken by iPhone 4 camera ?

In specs, iPhone 4 screen resolution & pixel density * iPhone 4 has a screen resolution of 960×640 pixels, which is twice that of the prior iPhone models As we know, when we code like this, CGImageRef screenImage = UIGetScreenImage(); CGRect fullRect = [[UIScreen mainScreen] applicationFrame]; CGImageRef saveCGImage = CGIma...

Seeing the value of a synthesized property in the Xcode debugger when there is no backing variable.

I just recently began using synthesized instance variables in my iPhone projects. The problem is, I can't see the synthesized ivars in the debugger. Is there any way to view the properties of an object in the debugger when it's not using the explicitly declared instance variables? I need to clarify the second question. I'm not asking ...

Is there any easy way to duplicate the search functionality of the Google Maps app on iPhone?

I'd like to be able to search and have the results pop up as annotations just like the Maps app on the iPhone. How do I go about doing it, and how difficult is it? ...

NSFetchedResultsController returning objects with null indexPaths

Details are in the comments. The following code: // Perform the fetch... NSError *error = nil; if (![[self fetchedResultsController] performFetch:&error]) { NSLog(@"Unresolved error %@, %@", error, [error userInfo]); abort(); } // Confirm that objects were fetched by counting them... NSLog(@"Number of Objects = %i", [[fe...

iPhone: Load Queue on Startup

I've not found a answer to this question anywhere, but this seems like a typical problem: I would like to send some POST-Requests (with ASIHTTPRequest, what I already do), but if something goes wrong, ther user can decide to "Try Later", that means, the task should be put on a queue and this queue should be read next time the applicatio...

webarchive in iphone

can we use webarchive in iphone to display Pdf? ...

how to get a web page displayed on my uiwebview in objective -c

I am trying to display a web page in UIWebView so that when i click a button the webpage should be displayed in uiWebview.How could this be possible Can anybody help in solving this or give me some hint ...

Custom iPhone push notifications php script

I'm looking to put together a php script that allows me to enter a custom message that would be sent to all registered user of my iPhone app. My SQL database contains all of the pushID (aka Tokens) and I would call them by this code: mysql_query("SELECT cPushID FROM tblUsers WHERE Length(cPushID) > 70 AND cAlerts = 'All' AND cPreferenc...

catapult effect in cocos2d

Hello, How to catapult animation in cocos2d. Iam doing animation of streching stick like rubber, does not get any luck yet, anyone knows please help. Thank You. ...

Make universal binary for IOS4 (iPhone 4) and 3G

How to make universal binary of one app, which can correctly run on 3G and support multitasking on iPhone 4? Thanks! ...

GoodReader application supports Webarchive

i read out that Goodreader application use .webarchive format to display pDF.Is .webarchive is supported by ipad and iphone ...

Is sdk to decode Barcode type of pdf417 for iphone available?

Hi, I want to make an application to Decode barcode of Type PDF417 Using iphone Camera . Are there any SDKs available for that ? and is it feasibile ? Can iPhone Decode barcode capture using Camera ? Please need your help. Thanks in Advance. Regards. ...

Could Not able to position the UITableView ?

- (void)loadView { SettingsTitleBar=[[UINavigationController alloc] initWithRootViewController: self]; searchBar =[ [UISearchBar alloc] initWithFrame:CGRectMake(0, 44, 320, 40)]; searchBar.placeholder = @"Type your City Name"; searchBar.delegate = self; searchBar.autocorrectionType = UITextAutocorrectionTypeN...

(iPhone) Reading from a web file - NSMutableArray

Right now I have an NSArray whose items are just written in the implementation file. I'd like to know how to make it so I can store all the items on a web (text) file. Example: http://mysite.com/files/objects.txt On that document: Object 0 goes here Object 1 goes here Object 2 goes here Object 3 goes here etc. All separated by ...

objective-c memory management question

I've people who use [variable release] and some other times variable = nil to clean up memory? When do you use each one? and what are the differences? ...

how to integrate facebook in my application in iphone

i am creating a music application and i want to integrate facebook into my application.when the user logs in for the first time in facebook the log in page of facebook should be displayed and after when he clicks on the login button my custom dialog page should be displayed containing buttons of publish feed, retrieving friends and logou...

How to attach images in Mail Composer?

Hi! I want to use Mail Composer which should attach an image file also, how is this possible? ...