iphone

Simplest way to implement twitter capability to iphone app

I need to add basic twitter support to an iphone app Does anyone know if there is a 3rd party solution like the facebook connect for twitter? OR if anyone knew if any of the popular Twitter iPhone apps (eg tweetie2 etc) have a custom URL scheme implemented so that it is possible to use their client to send a tweet from my app without ...

Showing duration of a song in uilabel or uitextfield

Hi all, I am developing a music player application. I have picked music files from the ipod library, and is playing them. I'm using AVAudioPlayer for this. What i need now is to show the duration of the song on the top of the view. I got the duration as NSTimeInterval *duration = [musicplayer duration]; But i dont know how to use it t...

UItableview header flicker when we reuse the cell Identifier

I have created cell as static NSString *CellIdentifier = @"TweetListUserName"; CustomTableViewCell *cell = (CustomTableViewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[[CustomTableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier]autorelease] ; } and for he...

custom view on iphone's native media player(MPMoviePlayerController)

I am building an application that implements a custom view on iPhone’s native media player. I want your help in deciding directions to lay this effort. At present I have find out that iPhone SDK doesn’t support APIs to customize media player. I need these things in the player: I would like to have custom views i.e. want to change all ...

iPhone:Open-gl to start with..?

Hello friends, I am developing several iPhone applications using UIKit. I want to learn and develop a simple and rich graphics iPhone game application using Open-gl library quickly. I googled it and got some links like below. http://maniacdev.com/2009/04/8-great-resources-for-learning-iphone-opengl-es/ But i want to hear from you exper...

Copying Cell ID information from the Field Test Mode

I'm looking to capture the Cell ID information and also the variable that is responsible for the signal strength bar on the iPhone for testing purposes. The information is accessible via the field test mode - is there any way to capture and store the data? ...

How to implement an accordion view for an iPhone SDK app?

Has anyone seen an implementation of an "accordion" (maybe called "animated outline") view for the iPhone? I found an example project for Cocoa, but before trying a port, I was hoping that someone has invented the wheel already. To make it clear, in a UIView, consider a stack of sections, each containing a header, and then some contents...

Objective-C: 'GameLayer' may not respond to '-addChild:z'

I am new to Objective-C and iPhone development in general. I am using the Cocos2d-iphone library for a game engine in an attempt to develop a very simple game. I have been following a few tutorials to get the hang of things and am attempting to put together a very simple "level" where some balls bounce around the screen using the Chipmu...

copying model.xcclassmodel error

i created a model and later decided to delete it after deleting it i get these error. copying model.xcclassmodel (1 error) pbxcp: model.xcclassmodel: No such file or directory can anyone help me to resolve it ...

Objective-C: UITableView cells get written over each time when scrolling up and down

Hi guys, I have a UITableView that gets populated via CoreData, and have just noticed something strange. I have about 20 rows or so in the UITable, and when I scroll down the table and back up again, the cell's label gets written over the top of existing text, and keeps on doing it each time i go down and up again. My code for the CellF...

dismissModalViewControllerAnimated shifts view down

I'm using dismissModalViewControllerAnimated to dismiss my MFMailComposeViewController. The problem I'm having is that the view behind the mail view gets shifted down a bit when it comes back into view. I haven't been able to figure out why this is happening, any thoughts? ...

Iphone UIView implementation

How does one code this scenerio in iphone sdk? In an expense app, when you want to add an expense, this view comes up. After selecting "Clothing," another view slides up with a UIPickerView control that has a "done" button which will dismiss the UIPickerView. Below is a screen shot after hitting "Clothing." I'm trying to figure o...

Manipulate the iPhones UIKeyboard as a "regular" UIView

Hi Im struggling a bit with the UIkeyboard, I have a datePicker, IntervalPicker some custom pickers and a few other UI elements that live in the same part of the screen as the keyboard. I have build a factory class that places these on the screen depending on the state of the app, I control animation and layering myself and here the pr...

How can I access identity profiles and certificates with iPhone SDK?

I am trying to verify the user identity on my application using a certificate / identity that the user has stored by opening a .cer / .p12 attached to an email. The certificate appears on the settings app of the phone under the group "Configuration Profiles". Is there any way of accessing the certificate using the iphone SDK (I have tri...

iPhone: Random moving bubbles animation using coregraphics?

Hello Devs, I'm developing an app which will show 10-15 bubbles is moving around the screen randomly and will stay inside the screen. In fact they are buttons and when user will click on any-one it will show a random image. Now my problem is, how should i animate smoothly these bubbles as random moving buttons? i have tried with timer ...

How to set up gcov for code coverage analysis in iPhone SDK?

Hi, I've recently begun unit testing an app I write for the iPhone. I have the basics of creating my own tests down, even if it seems a little sub-optimal. I am, however, having real trouble setting up code coverage analysis using gcov. I followed the instructions here: http://www.cubiclemuses.com/cm/articles/2009/05/14/coverstory-on-t...

how to get badge from server to our code

hi in apple push notification service, i'm getting badge 50 for my application. but i want that badge number in my code i want to save that badge. i want to set that badge somewhere ...

Using the latitude and logitude gets the tile image with the location in it, But how to pinpoint that location?

I am given a latitude and longitude of a place. Then I apply global mercarator projection formula. Then I am able to get a square image(256*256) with the location in it. I am using all this to display a map made my images from a customised google map, in my iphone app. When zoom is high, even when we pinpoint randomly on that image, it ...

iphone : Passing objects between functions..

hi... my code is like this - (id)getViewControllerForManagedObject:(QIManagedObject *)object { DataTableViewControllerReports *nextControllerReports = [[[DataTableViewControllerReports alloc] initWithNibName:@"ReportsScreenXIB" bundle:nil] autorelease]; nextControllerReports.objectStack = [self.objectStack arrayByAddingObject:object]...

a problem with load image from cache on iPhone

Here my code UIImage * result = [[UIImage alloc] imageWithContentsOfFile:filePath]; here my error log > 2009-12-22 17:00:44.137 > DrillDownApp[2061:207] touchesBegan > from root 2009-12-22 17:00:44.138 > DrillDownApp[2061:207] touchesBegan > from root at X = 52.000 and Y = 87.000 > at INDEX = 0 2009-12-22 17:00:44.139 > DrillDownApp[...