Newbie questions (potentially)
I wish to use the Mail Composer class to send both a property list (which I believe is ASCII XML) and a small SQLlite database from my iPhone to my email account. The method I'm using is
[mailComposerObject addAttachmentData:(NSData *)attachment
mimeType:(NSString *)mimeType ...
I have the following code which evaluates to true and runs the code inside the braces I rotate to the right (or left) in OS 2.2.1. However the same line of code does not evaluate to true (or go into the braces) if compiled and run for OS 3.0...
I say this because in the debugger (and the log) the lines inside the braces get skipped if ...
The iPhone Application Programming Guide shows an example labelled "Listing 2-1 Creating a window with views" (see below). This shows how to create and add two subviews to a window.
I am using a similar pattern=. This works correctly, both windows get displayed.
The problem I am having is to get it to recognize and do rotation. I hav...
Is there a way in the iPhone sdk to get the name of the contact who own's the phone?
I see that my app has been cracked, and I would like to update a release which checks to see if it a cracked version and then display the following:
Hello (Persons name). I see you are using a cracked version of (Application Name). If you like this appl...
I'd like to create a fairly complex row in my UIPicker. All of the examples I've seen create a view from scratch like so...
- (UIView *) pickerView:(UIPickerView *)pickerView
viewForRow:(NSInteger)row
forComponent: (NSInteger)component reusingView:(UIView *)view
{
CGRect cellFrame = CGRectMake(0.0, 0.0, 110.0, 32.0);
UIView *new...
I have a MPMusicPlayerController playing the entire iPod library and I'm subscribed to the notifications when tracks change etc. This is all working correctly
When the end of the playlist is reached, MPMusicPlayerController sends a change of state notification and stops. When I re-start the player, music begins to play again but MPMus...
Hi, here is a good question:
I have an application compiled for iPhone OS 2.21. When I run this on my iPhone 3G (updated to OS 3.0) the application runs fine. Is this a guarantee it will run on iPhone 3GS?
If I take the same code and compile for 3.0, part of the code do not runs on my iPhone, specially a scroller that does not scrolls....
Is it possible to create sqlite index based on "multiple fields" using core data?
In my present sqlite based schema, I have an index based on two fields, name and state. How do I create similar index using core data?
...
Hi
Is it possible to combine two wav files into one as if they've been played simultaneously? I need to do this programatically.
The only way I found till now is to play both simultaneously and record the output using AVAudioRecorder. But this won't work if the user's using headphones.
Can someone please point me to the right directio...
I have set my iPhone in the landscape mode but when I try to display the UIAlertView its come in the portrait mode. How it will display in landscape mode?
...
Hi, in my app I create at the beginning a tab bar controller with 6 view controllers.
One of them is to login in the application, then i have a login/logout button (Facebook sdk).
I would like to know if is possible to do the next:
1) OR when I click in the logout button (because at this moment I'm logging in) "To close the entire appl...
Is there a way to prevent auto-rotation from a view controller when the keyboard is showing?
I don't want to capture the notifications and handle all drawing by hand if possible.
Edit:I found that the root view controller in the chain was preventing the shouldAutorotateToInterfaceOrientation: message from coming down the pipe. Once it ...
Is it possible to get an UIKeyboard with a specific characterset for different countries over the iPhone SDK?
Thank you
...
Hi,
I am using a UITextView and I am confused about making the keyboard to disappear. Do I need to use some kind of a notification to make it disappear.
Thanks
...
how to access the video content in an iphone. Is there any possible to implement it using iphonne skd 3.0
...
Hi...I have an UIButton, which logs the content that is present in a couple of UITextField's.But when I click on this UIButton thrice, the simulator hangs and the debugger is opened. Can someone tell me why is this happening. It happens only when there is content in UITextFields.
...
Hi, i have the next code:
NSURL *url = [NSURL URLWithString:@"http:...."];
NSMutableURLRequest *theRequest = [NSMutableURLRequest requestWithURL:url];
NSString *msgLength = [NSString stringWithFormat:@"%d", [""soapMessage"" length]];
[theRequest addValue: @"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
[theRequest addVa...
So it is very easy to hide the tabbar when you push a view controller onto the navigation controller stack:
uiViewController.hidesBottomBarWhenPushed = YES;
works just peachy.
Put let's say I want to push deeper into the stack and show it again?
Setting
laterUIViewController.hidesBottomBarWhenPushed = NO;
on some later view con...
I am new to iPhone Application... I want to use GPS API in my iPhone Application, for getting current location of iPhone.. Can any one plz post some links for GPS API for iPhone ? Thanks..
...
I'm trying to implement the shake "tutorial" on this page, but I think I'm missing something. I copied his accelerometer function into myAppViewController.m file and put some nslogs in there to see if it even gets into the function when I use the simulators "shake" function. Nothing shows up in the debug console.
http://mithin.in/2009...