Hi,
I'm fairly new to objective-c, and am looking to pass a number of key-value pairs to a PHP script using POST. I'm using the following code but the data just doesn't seem to be getting posted through. I tried sending stuff through using NSData as well, but neither seem to be working.
NSDictionary* data = [NSDictionary dictionaryWit...
I am developing an iPhone voice recording application which creates audio files in caf format.
When I play those files back, the only thing I here is static. Also, the sizes of the files are huge e.g. up to 1.7 mb for a 10 sec recording.
Could I record in another format such as mp3. Does anyone have some example code of how to do so?...
Hi,
I've searched loads already and couldn't find an answer.
I have a normal UILabel, defined this way:
UILabel *totalColors = [[[UILabel alloc] initWithFrame:CGRectMake(5, 7, 120, 69)] autorelease];
totalColors.text = [NSString stringWithFormat:@"%d", total];
totalColors.font = [UIFont fontWithName:@"Arial-BoldMT" size:60...
Possible duplicate:
How can i give app store link in my apps before approving another apps
linking to an app on the Itunes store
How to link to apps on the app store
Hi all,
I'm a littile bit confused. I need to provide the download link of my application (the iTunes link) inside my application. ie when the user would...
Hi all,
I am new to the whole iPhone SDK and objective C, but have managed to get three times, two pulled from RSS feed, and one from the iphone.
I currently have: sunrise, sunset and current time set like:
6:51 am //Sunrise
7:36 pm //Sunset
11:34 AM //Current time
I am trying to work out the best approach to find out if ...
how to add timer to loop. i am making a urlConnection so i want that the loop execute for a time and if there is no connection it should exit.
Does it work.....
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1f]];
Thanks in advance.
...
Hi there.
A project i'm working on is crashing when built with release configuration.
We need to send the application to apple for review and it is crashing before even entering the app.
Any idea how that could happen?
In last ressort, is it possible to send to apple a debug version of the app with some optimizations?
thanks.
...
One of my users is reporting a crash on his device, an iPhone 3GS. Other devices of the same type are not reporting similar behavior. He's sent me a crash log and based on reading it, I'm not sure how to proceed. I hope I'm not interpreting the crash log incorrectly but it doesn't look like my action has been called yet.
This is how I'm...
Hi everybody, i'm testing my website and is working fine on every browser, except for the iphone browser (i think it's safari mobile?) that renders a piece of text with a bigger font that the rest. I've checked the CSS by hands and using firebug on the page and i can confirm i've put the same size to all of them. How do i fix this?
You ...
Hi,
I try to retrieve the Bluetooth (Network) adress on the iPhone within an App but i couldn't find a way how to do that :(
Does someone has an idea or hint? That would be great because i stuck for a long time...
Cheers, Lars
...
Does anyone know if its possible to set the amount of memory available in the simulator?
I'm assuming the simulator will use as much memory as possible from the system but this makes it more difficult to recreate certain low memory crashes/bugs.
...
How should I go about creating a NavigationController for use in a view-based application?
...
Hi , iam using setting.bundle and i try to show a hidden picture with Switch toggle , here is my code but i miss something :
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[//Some code show the hidden pic]; myPic.hidden = NO;
my key is .e.g = wood_back
should i use ObjectForKey ?
//Sound Problem :
now i try to...
I am new to iPhone development. I have a URL of a site.
On clicking the "visit itunes" button on page, the itunes for that particular site is opened in my Mac iTunes.
I am able to see the videos in iTunes. How can I implement this in my iPhone so that i can see the video in my iPhone?
Thanks.
...
Is there any way of placing a file into application "sandbox" i.e into eg:
/var/mobile/Applications/30B51836-D2DD-43AA-BCB4-9D4DADFED6A2/Documents
of iphone?
My Application expects a file to be put into /Documents folder of application so that it can be uploaded to my local server.
This method should confirm to the rules of Apple so...
Hello every one
I hope to read the contents between and in a html string.
I think it should be in objective-c
@"<title([\\s\\S]*)</title>"
below are the codes that rewrited for regular expression
//source of NSStringCategory.h
#import <Foundation/Foundation.h>
#import <regex.h>
@interface NSStringCategory:NSObject
{
regex_t...
Hello!
I started developing with Titanium and now I really stuck on one part.
I downloaded the Adroid SDK and added the path to Titanium:
/Users/michael/Downloads/android-sdk-mac_86/
I can open e.g. Kitchen Sink in the iPhone Simulator without problems, but when I want to open it in Android then my screen looks like this: Screenshot
...
We are writing an API for iphone developers and we don't know what the best practice is for exception handling. We looked into NSError, standard POSIX way, NSException
What is the convention that most APIs use? Which is the most "Objective-C friendly"?
...
Hi there
I did add a toolbar to my UINavigationController and that works as it should. But I don't see any possibility to change the appearance(like other backgroundcolor etc.) of the toolbar.
The docs shows me that an UINavigationController has a toolbar property but it is readonly.
Do I have to do an custom UIView or is there any ot...
I am developing a simple game on iPhone and I started with a View based application, and through the UIViewController I am loading a custom UIView that contains some more UIViews and some UIImageViews. I want to detect touch events on some of the UIImageViews, but I wasn't able so far.
I've created a second project for testing purpos...