iphone

How to create a user control for IPhone?

So I read about Interface Builder Plug-Ins but from what I understood they're not supported on IPhone on the MAC. Basically I want to create a User Control (this is a .NET term) is this possible in iPhone development? A user control is basically like me trying to create my own custom button, or own custom slider, etc so that it is easil...

UIPickerView, static data

In the Clock Application that comes with the iPhone/iPod touch, on the UIPickerView that has hours and minutes, how do we create our own picker views with the text "hours" or "mins" that is static within the UIPickerView? I didn't see any documentation on that if that was some sort of property or anything. Also, on that same App, the...

Sharing files from an iPhone app

Hello, I've written an iPhone app that uses CocoaHttpServer to share the Documents/ folder of the app. This works very well, and I can list the files over WiFi from my Windows machine using a browser. (eg. http://192.168.1.4:424242 ). The only downside is that users have to save the file from the browser before they can actually use it....

iPhone Wi-Fi transport sequence UI design, has some problem, anyone can help me?

Download code here: http://www.cocoachina.com/bbs/job.php?action=download&aid=12804 I do it like iPhone BlueTooth transporting, but it has some problem. For example, there are 2 iphones: A and B Both Press "Search Devices" button, then start to search devices, after getting others, display the target devices list view. On A iPh...

UIImageView is it possible to reverses animation?

i try to make an animation on UIImageView. is it enough ? or i need to use Core animation instead? i want to animate picture 1 , 2, 3, ..., 14 how to reanimate from 14, 13 ,12 ,..., 1 here is my code NSArray *myImages = [NSArray arrayWithObjects: [UIImage imageNamed:@"phe01.png"], [UI...

Is there a way to store the video content when using the streaming mode of MPMoviePlayerController ?

I would like to stream a video from a website, and build a local cache of the played videos. This way the user could stream the video and replay it from local iPhone storage. I would prefer not pre-download the video before playing it to offer a better user experience. If the MPMoviePlayerController approach is not feasible, could I sta...

release problems in objective C iPhone

Hello, I would like to ask about the memory management problems in objective C. I am the green of the objective C. When I read some of the sample program from the Apple website, I saw a [XXX release]. I guess this statement is used to release the use of the variable. However, when I use this statement in my program, I got some problems...

iphone accelerometer speed and distance

Hi, I want to find distance traveled and velocity from accelerometer events. Like iphone's gMeter application is doing. Any suggestion, by which value or formula I should use for that? Thanks in advance. ...

Is it possiable to have the detailTextLabel automaticly resize the font?

I'm using the UITableViewCellStyleValue1 for my table cell style. That's the one that puts the textLabel on the left, left aligned, and the detailTextLabel on the right, right aligned. Some of the data I'm passing to the cell, at times, is to long for the label and I get the the truncated look with the ... at the end. I think it would ...

adding ovelay on a map(objective c)

How to add overlay on a map in objective c? (has any body tried it in iphone os 4.0)? ...

Coredata integration into existing application problem iphone

Hi all, I'm integrating coredata into my existing application as given in http://wiresareobsolete.com/wordpress/2009/12/adding-core-data-existing-iphone-projects/. I'm facing a problem in insertion of data. My data isn't getting inserted into the following entity. I'm importing coredata framework into the class Editorial. @interface ...

displaying images in fix size

hi all in my application images are loaded from rss feed in table cell. they are of variant size how can i fix them to certain size. my code is int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1]; imgstring=[[blogEntries objectAtIndex: blogEntryIndex1] objectForKey: @"image"]; NSURL *url = [NSURL URLWithStrin...

iPhone - How do I detect the iPhone version?

How do I detect if a user is running the application on an iPhone 4 or 3G/3GS? I need to detect the hardware, not the iOS version. thanks for any help. ...

A question related to Push Notification

hi iphone developers i'm in tremendous trouble 1>I know how to set badge number in apple push Notification. but i don't know how to get the badge number if it is set by os I need badge count in applicationdidfinishlaunching ...

iPad app with multiple UIWebViews in the same screen

does it hurt performance to have multiple UIWebViews in the same screen? how do I use a busy indicator while the web page is loading and display the fully loaded page once all contents have been downloaded? ...

UIAccelerometer is Shaking

Hi I want a functionality in which i want to detect if my device is being shaked.The problem is i can detect the shake with didAccelerate method of UIAcceleratorDelegate , but i dont know how to detect if the device is still shaking. I want to play an audio file when the user shakes the device for first time,i have to check if the user ...

Counting down the days - iPhone Count Down Timer

Hi Everyone, I’m trying to make a counter which shows the number of days until we leave on a trip to Europe. It’s only about 70 days (as of today) so I don’t believe that I should have to worry about astronomically large numbers or anything, but I really am stumped - I’ve attached the code that some friends have given me, which don’t wo...

Iphone sdk 4.0 version doubts

I developed ipod sdk application in iphone sdk version 3.1.2.Its work well in ipod.Now i build the app and installed application via itunes in iphone4 , its not work well.It make crashes a lots of time. I upgraded the sdk version to 4.0. But when i open my application it says base sdk is missing. Can any one help me ? Thanks in advance...

iphone app UIWebView cache data

I need a UIWebView to show a html page. if internet is not available it will show the last downloaded version. if has internet then it downloads the most current version and replaces and shows the version just downloaded. how can I do this? Thanks ...

How long/how much did it cost to develop iPhone SDK & App Store

Possible Duplicate: How much does it cost to develop an iphone application? Hope somebody can help. I have been googling trying to get an indication of how long it took apple to develop the AppStore & the iPhone SDK? My Co. have had an idea to try and do a similar thing internally for our own apps and massively underestimati...