iphone

How to control NAS using iphone as a remote control?

Is there any way or code available to control TV connected to NAS using iphone as a remote control? Any suggestions are welcome. ...

iPhone - Multiple TableViews in one View?

How exactly does one implement two separate "tableviews" on one view like in this image: ...

How to remember last selected tab in UITabBarController?

I'm trying to make my app remember which tab was last being viewed before the app quit, so that the app opens up to the same tab when it is next launched. This is the functionality of the iPhone's phone function: how can I do this? ...

Custom iPhone return key text

hi all, Is it possible to set custom return key type for UITextField? [txtField setReturnKeyType:UIReturnKeyDefault]; I want to have the word "SHARE" in place of the return key type. Thanks ...

iPhone - UINavigationController, reuse views?

The root question is "how many UIViewControllers can you push on the navigation stack?" Suppose I have an application that is basically a database for three entities where each can have a relationship with some other entity, and the relationship is shown on a UIViewController. Users can follow those relationships and each one brings up ...

Add a row dynamically in TableView of iphone

Hi all, I need to add a new row in the tableview when i select a row in the table. Am i suppose to use the following method??? - (void)insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation What shoud i write inside the method to add a new row.? Please do help me, Thanks in advance Shibin....

In App Purchase from App Store, iPhone

I am developing an application of iphone which requires to implement the In App Purchase functionality from App Store, for letting users download some images through their itunes account. Any source code regarding this would be great help. ...

NSString drawInRect overlaps all characters

I am attempting to fill some text with a gradient-fill, where by I set the text drawing mode to clipping, and then paint a gradient-fill. The problem is, whenever I set the text drawing mode to clip, every character of the text string is placed on top of each other, rather than being painted in a sequence to form a word - it is most biza...

How to install third appliacations to iphone(has been jailbreaked) via shell script

Anybody can tell me how to install a third app to iphone? I want to use shell script,but I can't use fork(),Anybody has an idea? ...

how to invoke a iphone native application from webview.

i have a application which has 2 parts one is a webview and other is a native iphone application. I want to invoke a native iphone application from a website inside a webview. ...

Cocoa-Touch: When implementing drawRect, how do you redraw the transparent background?

I'm implementing a UIView's (UITableViewCell to be more exact) drawRect method. My view has a transparent background, so when something is changed in the view, the older drawn version still remains there. So if on the first drawRect draw an "A", then a "B" on the same point, I get both of them drawn on top of each other. How can I tell ...

Declaring an object at class level, problems. iPhone Objective-C

Objective C on iPhone: I am attempting to declare the following object at class level so that i do not have to re-connect this socket every time I write something to it. (Writing things multiple times a second) whenever i am writing a steady stream of live data, about every 2 seconds it freezes. I don't know why, but it does. Code: Soc...

iPhone:Need to keep the keyboard up while scrolling the webview?

Hello Devs, i have an application where half screen will show a website and half screen will be covered with the keyboard(Not the webview's default keyboard). Keyboard has a textfield with it and user can write to the text field and send to the web page(i have used javascript there). Now i need to keep the keyboard up while user typing...

iPhone dev on mac Mini

I plan to start iPhone Dev. Is a Mac mini 2.26 GHz with 2Go memory powerful enough? ...

Is it possible to take several images in a row using UIImagePicker with showCameraControls = YES

Hi everyone. Is there a way that I can capture consecutive pictures using UIImagePickerController and get rid of the screen that shows "Cancel" and "Retake". I want to be able to programmatically take consecutive pictures with shown camera controls (actually overlayed). The point of this is to use the apple`s tap focus feature which can ...

iPhone Syncing a time sequence with music

Hey I'm using AVAudioPlayer to play music in my iPhone app. In a class that I wrote I have an array that contains random ascending integers. (2, 4, 9, 17, 18, 20,...) These integers represent times in the song at which a certain event should occur. So if you take the above array, after 2 seconds of the song playing, some method should...

iPhone Background App in Ad-hoc distribution?

I need to be able to ensure that the iphone is always connected to a network. If it loses reception I need to be able to warn the user. Since the only way I see this working is using a background process is it possible to use private APIs so that the app can run in the background. I know it can be done with Jailbroken phones but I would...

How can I solve this memory Leak? NSInvocation

-(void)invokeMethod { NSMethodSignature * sig = [[source class] instanceMethodSignatureForSelector:@selector(mySelector:)]; NSInvocation * invocation = [NSInvocation invocationWithMethodSignature:sig]; [invocation setTarget:myTarget]; [invocation setSelector:@selector(mySelector:)]; MySubClassOfNSInvocationOperation...

Is there an iPhone 3.0 SDK API for calendar event management?

Is there an API in the iPhone 3.0 (or later) SDK to programmatically create & manage calendar events? ...

Best way to implement Enums with Core Data

What is the best way to bind Core Data entities to enum values so that I am able to assign a type property to the entity? In other words, I have an entity called Item with an itemType property that I want to be bound to an enum, what is the best way of going about this. ...