iphone

iPhone CodeSign failed

So - I am a registered iPhone developer (Having paid my $99/year). I have followed all the steps provided by Apple to get the provisioning and code-signing files. However, when I click 'build', it says: "Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19...

iphone - How can i read the microphone input?

How can i read the sound data from the microphone? I don't want to record and then access the data, i want to be able to access the sound input live? ...

Reload a UITableView within a UIView

Hello, I am using MGTwitterEngine, and I have everthing working fairly smoothly. I am using it for an iPad program, and currently I have a UIView with a UITableView inside. I want to reload the table, but because I am using a UIViewController, I can't figure out how to target it. I understand the widely used method is: - (void)viewWill...

multiple icons possible for one app?

can the same app have different icons so that a user can select the icon he/she desires. ex. user1 wants icon x user2 wants icon y both users using the same app. ...

How to test Radio url status ?

sometimes is up sometime is down, how to programmatic test that connection is available? ...

iphone - animate a view to a new width and height

The following animates a view to the upper left part of the screen (ipad): [UIView beginAnimations:@"anim" context:nil]; [UIView setAnimationDuration:5]; [UIView setAnimationDelegate:self]; someView.frame = CGRectMake(0, 0, 1024, 768); [UIView commitAnimations]; However, it does not resize the view (think of a UIImageView that I w...

Show same points of interest in MKMapView as in the Maps application?

If you look at a location in a MKMapView and in the Maps application, the maps app has a lot more points of interest. Is there a way to get the same items to show up in an MKMapView? Here is an example: http://drp.ly/1CJWbm ...

UITableView Section Index not working as expected

When I add a section index consisting of "A", "B", ..., "Z" to my UITableView, everything works fine in the iPhone simulator. In this case, I get A, B, C,..., Z displayed in a horizontal line on the right hand side of my UITableview. If I add a 27th element (e.g. "Other") to the section index titles, the section index will now show A,*...

Problem with info view on iPhone app

I am currently using this code to bring up an info view for an iPhone app. -(IBAction)showInfo:(id)sender { InfoView *info = [[InfoView alloc] initWithNibName:nil bundle:[NSBundle mainBundle]]; info.modalTransitionStyle = UIModalTransitionStylePartialCurl; [self presentModalViewController:info animated:YES]; [info release]; } And thi...

Objective C: Communicating between classes

I'm writing an iPhone program that has a login view controller that allows the user to login. I have a method I use within that controller that checks the authentication of the username and password. I'm using the keychain to store the username and password, but I'm wondering how I go about communicating outside of the class that the use...

Specifying desktop text for Apple iPhone apple touch icon HTML attribute

The HTML tag : <link rel="apple-touch-icon" href="/customIcon.png"/> seems to picks up the text it will use from the first 12 characters of the HTML tag: <title>123456789012...</title> when you select the 'Add to Home' option in the Safari browser. However only the first 9 character are displayed in the iPhone's desktop. If more than...

displaying an image from sqlite table

I was storing an image in a sqlite table as blob data and displaying it using the following code: self.myImage.image = [[[UIImage alloc] initWithData:recipe.image] autorelease]; I'm now using the image file name in the sqlite fields instead and storing the image on the filesystem. what would the code be to display it that way? I'm havi...

What is the best way to collect data for iphone sqlite db

I want to build an iphone app with data pre-filled sqlite db. But how to fill data in the beginning comes to be a small problem. My partner and I may both need to access the db and edit data. I thought to build a web interface to edit the data, but my host service only provide PHP+MYSQL solution for me, then if I put the data in MYSQL...

Will it code work with NO jailbreak iphone?

I get collect2: ld returned 1 exit status usr/bin/g++4.2 failed with exit code 1 #import <stdio.h> #import <string.h> #import <mach/mach_host.h> #import <sys/sysctl.h> #include <CoreFoundation/CoreFoundation.h> #include <IOKit/ps/IOPowerSources.h> #include <IOKit/ps/IOPSKeys.h> #include <assert.h> #include <errno.h> #include <s...

How can I know users click fast forward and fast rewind buttons on the playback controls in iPhone

I want to implement the following things, App is running a music or video (using MPMoviePlayerController) in background. User double clicks the home button and go to the first screen showing playback controls (fast rewind, play or pause, fast forward buttons) User click fast rewind or fast forward button. Then app play previous or next...

Why bother with releasing memory in viewDidUnload and dealloc

Aren't these methods called when the app is about to be shut down? If so, then won't the memory be all cleared out anyway? ...

iPhone storage in tmp directory

Hi everybody, I have a question from this stackoverflow question about iPhone storage. Like I already tried to answer, we can cache data in tmp directory. But a comment says that the data can be deleted when OS whimp. I don't understand exactly the problem that the comment says. I want to ask if the process of OS deleting tmp director...

iPhone In-App SMS MFMessageComposeViewController Auto-Send

I am using Apple's documented methods for In-App SMS today (MFMessageComposeViewController Class Reference) This shows a Compose Message dialog box with the recipients and the body (optionally) pre-filled. However, the user still has to push the send button. The App, Vlingo, seems to have figured out a way to programmatically send f...

iPhone Audio Record with Export/Email

I have searched all over Apples website and the internet as well as Stackoverflow. Does anyone have any sample code or a tutorial of how I can record audio from the built in mic, and then export that audio via email? Please, I really need it for my app. Thanks. ...

Localization of views

Hello, I am trying to make my app localized. I have followed this procedure http://www.switchonthecode.com/tutorials/a-simple-localization-example-for-the-iphone. And have deleted all localization and done it over again. I've seen other tutorials with exactly the same procedure. My view to localize is named InfoView.xib. I have: ...