iphone

YouTube App like UITableView

Hey, does anyone have a tutorial or some sample on how to make a UITableView like the YouTube iPhone App? Thanks ...

When do I alloc and init objects in iPhone programming with Objective-C?

Sometimes when I program for the iPhone, I wonder when you have to allocate and initialize objects and when not to. When you are using UI controls, it seems as if you don't have to do so. Is this true and why? (Assume that they have been declared in the .h of the view controller.) Example: label1.text = @"Hello"; vs label1 = [[UILa...

How to use PushMeBaby sample to send Apple Push Notifications ?

Hi, I am trying to use PushMeBaby sample APN Server application to send push notifications to my device. I have adhoc distribution application. For my application ID I have created both ssl certificates for development and production. It seems to be not sending push notifications from PushMeBaby application, I have alread installed Push...

What do I do if I want UINavigationController functionality without a navigation controller?

I know that a UINavigationController has good view pushing methods. But let's say that I don't want to use a UINavigationController because I don't want the bar on the top of the screen. Is there a specific way to push and pop views as I want them? Also, when should I use presentModalViewController and when shouldn't I? Thanks, Anthony...

Need core plot with coloured vertical line at each data x coordinate, with height data y coordinate

Hello, I would like to use core plot to chart my data as follows: for each data point (x,y), draw a vertical line starting at (x,0) and running to (x,y). The data are medication doses, mapped against time of dose. Any help would be greatly appreciated! ...

iPhone when does data get restored from backup

When does data get restored for an app? What if I save data in the app's document directory. Then they sync with iTunes. Now iTunes has a backup. Will that data be populated to another device when they sync that new device to their iTunes or will they just get a clean install of my app? I'm trying to figure out how to keep track of a sub...

Dynamic Code Analysis tools for Objective C/Xcode

Hi all, Is there any tools available for Dynamic Code Analysis for Objective C Codes? Thanks in Advance ...

how to force interfaceOrientation programmatically on iPhone?

how to force it show on UIDeviceOrientationPortrait only? example layer1 display on UIInterfaceOrientationLandscapeLeft when i pushViewController to layer2 it will auto show on UIInterfaceOrientationLandscapeLeft how can i force it to display UIDeviceOrientationPortrait? ...

how to set library expiration date on iPhone static library?

Hello, I have developed a static library in iphone and was able to successfully use it for a single project. I want to give the project source code to the client. But I want the library to be working only for thirty days from the day i am releasing to the client. How can i do it? Here is an option that i thought of: 1. Put up a hard co...

problem in TextFields.

Hi Guys, I am trying to save the text in the textfield when we are entering the text itself. for that I used the code as: here eventTextField,eventPlaceTextField,wineryTitleLabel,vintageTextField are the textfields. - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSStri...

UIView inside UIView with Shadow?

Hi, I've been trying to figure out how to draw a shadow for an UIView that was added inside a UIView with addSubview. I searched online and read the docs, but the Apple docs simply draw new shapes as shown below. I want to use the Core Graphics to add a shadow to the UIView, but am unsure how to do this to a UIView directly. CGContex...

iPhone Dialer Keypad with Tab bar

I want dialer keypad type keyboard for some UITextField. I am able to get 1-9 keys using keyboard type phone pad. But, it is not showing me Call button as it is displaying in skype or other similar apps. Other problem is when keyboard is getting displayed, keyboard hides the tab bar. How to change the position for keyboard? I want to d...

How do i get name of a location in iPhone SDK

Hi, Is it possible to get the names of the location using core location. What actually i need is that. when my app starts i need to display the name of the place where i am currently in. Any idea.? please Help. Thanks in advance, Shibin ...

How to show "Turn left" "Turn right" messages on the route highlighted between two places on Google map?

I'm developing an application in which I need to display a message showing where to turn after user clicks a position on route highlighted with the help of directions on Google map. There's this Groute class which provides much of the information like distance, duration between two places, but it doesn't give information about direction...

iPhone + detect tap of disabled UIControl

Hello, I am developing In App purchase for one existing application. Scenario is something like I have a feature in application (which contain UITextField control), which is initially disabled and when user taps on that UITextField, it shows the message to unlock and buy that feature and once its done, UITextField will be enable. But t...

Saving Rss Feed into Database

Hello All, I have one problem, i want to save the rss data coming from xml into local database but it takes from time because it contain images and i also save images in resource path. so how can i parse and save data at same time? it take lots of time so is there any method that runs on background? for eg: i will load all data from th...

In app purchase error

hi i am developing in app purchase application and when we build our application when click on buy button nothing is take place but in console show Buyid method called. I am not understand that help me ...

Force iPhone to output through the speaker, while recording from headphone mic

As far as I've been able to tell, whenever you override an audio route in the iPhone, you have to change both the output AND input routes together. The only available routes I'm aware of are: "Headset" "Headphone" "Speaker" "SpeakerAndMicrophone" "HeadphonesAndMicrophone" "HeadsetInOut" "ReceiverAndMicrophone" "Lineout" Is there any wa...

iPhone + In App purchase + change alert message

Hello, I have implemented In App Purchase in one of the existing application, it's working fine. But the problem is that whenever I tap on any of the locked feature (where I have implemented In App code), it show me the alert message with title like "Confirm your In App Purchase" and message saying "Do you want to buy one xxx Feat...

Devicetoken of iphone for push notification?

Hi everybody, I have tried PushMeBaby as server. The problem which I am facing is that the Push notification gets activated as when the app launches it prompts me to connect to itunes for push notification, but neither the didRegisterForRemoteNotificationsWithDeviceToken nor didFailToRegisterForRemoteNotificationsWithError get cal...