iphone

how to uload photo/image to facebook via iphone application

Hey all. i am integrating facebook with my iphone application. i can share text message in facebook, but i want to share/ upload photos to facebook through my iphone application. please let me know is there soution for this. i am trying the facebook sample code but it is giving me some errors: i searched out that error but other develop...

Static keyboard in uitableview

I have a UITableView that holds just two cells with a textfield in each. As my tableview is just for editing the text in these textfields I always want the keyboard to be shown static in the bottom of the screen. So in viewDidLoad I set the first textfield to become first responder. Something I have noticed though is that when I push th...

How can I debug NSManagedObjects in XCode debugger?

Hi All, How do you get to the values of your Entity (sub class of NSManaged Object) when in the XCode debugger? I get lost among the NSObject and _cd_XXX structures. ...

How to immediately force view to draw itself after closing alertview by the user ?

the situation is like this : if i dont have internet connection, i show alertview to the user. when the user press "try again", i call "dosomething". the problem is the alertview still show for seconds..after the user click "try again" i tried : [self.view setNeedsDisplay]; but, in not works, cause even in the documents..if said the ...

In-App review feature in iPhone App

I have recently seen in some Apps that review and rating (with 5 stars) can be integrated into the app. Does anyone have an idea how this is done? e.g. with a http request? More specific: Can I create a view in my App with a UITextField and a Button, so that when the user writes his review in the textfield and click send, the review sho...

Why does NSFetchedResultsController not conform to the UITableViewDataSource protocol?

First I thought I've grocked that thing: It's the data source for a UITableView. But then: It does not conform to that data source protocol. Strange! Why? How can it not? ...

UITabBarItem selection color

Is it possible to change the color of the active tab on iPhone's tab bar? By default it is blue and it is not working with my app's color scheme. ...

Does NSFetchedResultsController make a call to the DB every time the table view asks for a new row?

Does NSFetchedResultsController make a call to the DB every time the table view asks for a new row? Did anyone track that? Apple says it makes sure that at any given time there is an minimum of needed objects in mem, so actually that could be the only way to do it. What's offscreen gets lost, and what's scrolling in is fetched immediate...

Distribution profile and App Store Submission

Hi All, I developed a iPhone application for my client. I have my own developer account, so I created the Ad Hoc and App Store Distribution profiles by using my account. Now the thing is, my client want to submit the app by using his account. He has his own account. I want to know, Should I build the app using my distribution profi...

getting default user interface from GKPeerPickerController class

i am developing an application which needs bluetooth conection of two iPhones.Now this is what i did: I created a view based application I included GameKit Framework in my application. I did not do anything to my app delegate file and in my view controller's view did load method i wrote folowing piece of code [super viewDidLoad]; mPi...

How to page-scroll on a uiscrollview?

If I've got a uiscrollview which is five pages wide, what code would tell me what page I am on, when I scroll to a new page? Also, what code would scroll to a specific page? Thanks! ...

iphone programming obj-c : removing the "..."

hi, when you enter a too long sentence for the iphone it automaticaly add a "..." at the end to show you there is other stuff you don't see right. I want to delete those "...". image : ...

UIWebView pagination

I have a large html content to render in a UIWebView, I want to display the content in pages just like a book and the user uses buttons to navigate the pages. Is there any way to calculate the height of html content that fits in the webview without scrolling? ...

Is there a way to get the magic mouse or MacBook Pro trackpad to work with the iphone simulator?

It seems like the perfect opportunity for the trackpad or the magic mouse to work with the iphone simulator but it doesnt?! Does anyone know how to get it working to allow me to touch and pinch? ...

how to display current location when camera is open in iphone

I am implementing one iphone application in which i want to implement below functionality. When i open camera infront of any object(i.e Hotel,bank,ATM) then it will display related its information. I want to implement same functionality same as wikitude which is in apple store. Please help me for this query or please provide me relate...

Which data persistence options are available on the iPhone?

I know already: Core Data, SQLite3, Property List Serialization, NSCoding with NSCoder (encode / decode)... what else? ...

[iPhone app] Dynamic text field

Hi, I am actually developing a view with a text field that I want to be dynamic. Was dynamic means ? It means, when you type something in it, there is a suggestion list populating beside the text filed. I have already coded that, and it works fine ! Representation of what I have right now : [ text field ] [ OK Button ] [ sugge...

How to check whether a CGPoint is inside a UIImageView?

In touchesBegan: CGPoint touch_point = [[touches anyObject] locationInView:self.view]; There are tens of UIImageView around, stored in a NSMutableArray images. I'd like to know is there a built-in function to check if a CGPoint (touch_point) is inside one of the images, e.g.: for (UIImageView *image in images) { // how to test if ...

Removing Shine/Gloss effect on the iPhone through UIPrerenderedIcon not working on device

Hello all, I have tried to use the UIPrerenderedIcon/"Icon already includes gloss and bevel" on the Info.plist of my app and it worked perfectly on the Simulator, but not on the real device (iPod touch 2g). I have even tried to uninstall the app from the device, clean all builds but I still got the shine/gloss, that's really ruining my...

detecting double free object, release or not release ...

Hello, If we have this code in our interface .h file: @interface CarModelSelectViewController : UITableViewController { NSString *fieldNameToStoreModel; NSFetchedResultsController *fetchedResultsController; NSManagedObjectContext *managedObjectContext; DataEntered *dataEntered; } @property (nonatomic, retain) NSString *fieldNameTo...