iphone

Why is a documented NSDateFormatter init method not getting recognized?

I'm getting this warning (below) when trying to use NSDateFormatter. I am importing in my .h file so what is the prob? (Oh, and the same method generates an error (unrecognized selector sent...)) Here is the WARNING: warning: no '-initWithDateFormat:allowNaturalLanguage:' method found Here is the Code: NSDateFormatter *myFormatter ...

Custom background under transparent UINavigationBar

There is a custom UIImageView under "Black Translucent" UINavigationBar, but I'm not too happy with the result. The custom image is not visible enough and while changing navigation bar alpha value brings it more visible, it makes the navigation bar title and buttons less visible. Question: I want a fully visible custom UINavigationBar b...

Sending MMS in my iPhone Application.

Hello everyone!! hope you all are enjoying. Recently i come to know that now iPhone 3G and iPhone 3GS support MMS sending and receiving functionality. I have seen a video in which Apple's native Message Application sent MMS. Same MMS functionality I want to integrate with my Application. I Don't know how can I put it working. Need ...

<value temporarily unavailable, due to optimizations> CFArrayGetValueAtIndex

CFArrayGetValueAtIndex im not able to retrieve the value from address book when i tried accessing i get error ABAddressBookRef addressBook= ABAddressBookCreate(); // this will open the AddressBook of the iPhone CFArrayRef people = ABAddressBookCopyArrayOfAllPeople(addressBook); // this copies all the contacts from the Add...

How to determine if a UIView has a delegate that conforms to a protocol

Howdy all, I have written a custom class that depends significantly on touch dragging/positioning, outside of it's own view boundaries. There is an associated protocol defined with various relevant methods. An example of something that would use this protocol would be a view that allows things to be dropped into it from my custom class....

Using iPhone resources in a C++ file.

I was wondering how you open a file in the app bundle from a C++ file. I.E. I have a file "manifest.xml" that is begin copied into the app bundle. I need a way from C++ to either load this file. I think it is going to involve setting a path some where in Obj-C code so that the file is in the working directory. ...

I don't know to work with calloutAccessoryControlTapped:(UIControl *)control

Hello user, in my project are two classes (mapViewcontroller and listViewcontroller) and on the mapView are a lot of pins that the user can pull. If he pulled one i have to save the data of the pins and manage it to the other class. so my question what i have to implement in the following method to save the title and subtitle of the pin...

share, copy and delete in UIImagePickerController in SDK 3.0 ???

Is it possible to share copy and delete image using UIImagePickerController in SDK3.0? ...

How to add the value of string into hashtable in iPhone coding?

for(NSString *s in mainarr) { NSString newseparator = @"="; NSArray *subarray = [s componentsSeparatedByString : newseparator]; //Copying the elements of array into key and object string variables NSString *key = [subarray objectAtIndex:0]; NSLog(@"%@",key); NSString *class_name= [subarray objectAtIndex:1]; ...

How to parse the second child node from xml page in iphone

I am new to iphone development.I want parse an you-tube XML page and retrieve its contents and display in a RSS feed. my xml page is <entry> <id>xxxxx</id> <title>xxx xxxx xxxx</title> <content>xxxxxxxxxxx</content> <media:group> <media:thumbnail url="http://tiger.jpg"/&gt; </media:group> </entry> To retrieve the content i am using...

Flipping within a TableCell - like utility application.

Hello ! every one. I have some query regarding tableViewCell. Let me explain the situation. There are many values added in an array for the table cells / rows. Now, each cell has info button as static. Each element of an array has dictionary and it has these two values = cellvalue & detail value. Now, when user clicks on info butt...

Iphone - how to programmatically answer a call

Hi, I saw this application on Cydia ( forgot the name) that will answer/ reject a call when you shake the phone. Any ideea how is it done ? Couldn't find anything in SDK. Thanks ...

Auto-Completion in iPhone SDK 3.2

Hi all, I installed the iPhone SDK 3.2 in my mac mini. my problem is, i am using UITableview* i want to get the properties of the tableview i.e, when i am typing tableview. and press escape i have to get the corresponding values instead i am getting "No Completions found" if i am typing the wanted property and build i am not getting any...

Implementing a gauge control with UIKit on the iPhone

For an application I'm working on, I'd like to implement sort of a gauge-like control. The gauge should be of vertical orientation and I'd like to get the effect of a dial with the values printed on it to move vertically so that the current value appears at the center of the gauge. While the part of the dial that is not currently visible...

How to invoke TouchesBegan, TouchesMoved, TouchedEnded programmatically..

Is there a way to invoke TouchesBegan, TouchesMoved, TouchedEnded programmatically ?? ...

Getting exc_bad_access error only when mallocguard is enabled

I have an app for iPhone in development which works properly when the Malloc guard is not enabled. However when i try to enable the malloc guard i get the following error after the app is loaded. #0 0x95f65684 in objc_msgSend () #1 0x30506515 in NSPopAutoreleasePool () #2 0x30901697 in _UIApplicationHandleEvent () #3 0x32046375 ...

Can we specify the amount to be charged by iPhone storekit framework ?

Can we specify the amount to be charged by iPhone storekit framework ? or it will charge the amount specified at the application creation time ? ...

iPhone application Info.plist language property

Which property should I change on Info.plist in order to configure the list of languages shown in itunes store under my submitted application? EDIT: My application will be in Greek and I want to see Greek as the only language under Languages in the App Store. How do I do that? ...

Comparing a UITouch location to UIImageView rectangle

I have the following code to determine if a touch is within an image view in my table cell. However, it doesn't work. I compared the two with CGRectContainsPoint however, it doesn't work. Here is the code: -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { // Declare the touch and get it's location UITouch ...

iPhone Image Zoom Animation

I am writing my first iPhone app. I'm looking for direction on how to best accomplish an image zoom animation. I have a thumbnail sized image on the screen, and want to show a larger sized image overlaid on the view when the user taps on the thumbnail. I've seen some suggestions for using the core animation framework. I saw another sugg...