hi i am new to iphone.i am installing the iphone sdk 3.2 with xcode 3.2.when i run the some pre defined examples it shows an error there is no sdk named iphone2.0.If i need to install iphone sdk 2.0 how can i install with out overriding the existing sdk means i need both sdk 2.0 and sdk 3.0. how can i done this pls help me.thank u in ad...
Hi,
I am trying to record some audio and convert them to other sound formats. I am using AVAudioRecorder class to record and these are the recording settings I used..
NSDictionary *recordSetting = [[NSMutableDictionary alloc] init];
[recordSetting setValue:[NSNumber numberWithInt:kAudioFormatLinearPCM] forKey:AVFormatIDKey];//kAudioF...
What kinds of cryptographic algorithm i can use to sends/receives data to/from webserver in iOS?(My webserver don't use https)
...
hi iam work on simple application in which i need send sms programtically to my friends.
so write below code for sending sms .
MFMessageComposeViewController *picker = [[[MFMessageComposeViewController alloc] init]autorelease];
if([MFMessageComposeViewController canSendText])
{
picker.messageComposeDelegate = self;
picker...
I created a sample in which i imported a word(.docx)on to the uiwebview and displayed.I got the output but i don't want to display the horizontal scroll bar and the vertical scroll also working not properly i can see the black space behind the webview when i scroll it vertically.
Here is my code:
import
@interface userguideLinesNewVie...
Hi all,
In my app i am recording audio. I want to mail the recorded audio file. I am doing like this.
MFMailComposeViewController *controller = [[MFMailComposeViewControlleralloc] init];
controller.mailComposeDelegate =self ;
NSData *myData = [NSData dataWithContentsOfURL:url];
Here url is the path.
printf("\n mydata %d",[myData le...
I am using a Data.plist file to populate my UITableView/Navigation-based Application with data. it works perfectly on the simulator, and it shows up all 261 names, with the subtitle. The detail view also works 100%.
But, no matter what I do, reboot, clean, comment out, it refuses to show up on my Device. (iPhone 3G, unfortunately. S...
hello..
i have a problem in that...i am working on navigation based apps..when i press a button in second screen..it shows a new view
button=[[UIButton alloc]initWithFrame:frame];
button.frame = CGRectMake(60,250,200,69);
[button setTitle:@"Crack Now" forState:UIControlStateNormal];
[button addTarget:self action:@selector(butto...
Hi Every One ,
I want to create on slide show in my iphone application which open if the user don't touch the screen for 30 second , for that i have made on method which reset the time when user touch the screen .
I have used nstimer class to handle timer event .
my problem is that even if invalidating the timer the event has been fi...
Hi All,
I am trying to make a details page similar to the address book app on the iphone, but am having trouble, organising the data and also the view.
I am currently going down this route, but there has to be an easier way:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
i...
I'm using the SFHFKeychainUtils which is a wrapper for Apple's Keychain. To query a password I need a username.
How can I access username application wide? Use a singleton? Other solutions?
...
Hi!
I have an iPhone application which gets a json string from a server and parses it. It contains some data and, eg. an array of comments. But I've noticed that the order of the json array is not preserved when I parse it like this:
// parse response as json
SBJSON *jsonParser = [SBJSON new];
NSDictionary *jsonData = [jsonParser ob...
Hello People,
i implemented a small code to show pictures, but why is the picture on Portrait Mode optimized to the iPhone screen and NOT optimized in Landscape Mode could you please help me, here is the code:
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported or...
hi all,
i am usi9ng table view ,in the below method i want to set value of appdelegate.page equal to the value of table index.
if row one is selected than appdelgate.page = 1 if indexpath selectd =2, dan appdelegate.page =2...l;ike dat...so what should i replace index path in my code so that i will get the selected row index???
here...
Hi
Im using tabs to switch between two view controllers.
How do I retrieve a float in the secondviewcontroller, thats been initiated in the firstviewcontroller? should i make some sort of global variable? Where and how do I do this?
Thanks guys :)
...
Hi,
I have a need to convert NSString to double. If this string is in essence integer, then result is OK. If string is decimal, perhaps also with group separators then results are false. Any king of separator (whether "." or ",") whis is first in the string is always used as decimal separator.
I have tried to do something with NSScanne...
Hello everyone...
I ran audio in the background in my iPhone app using AVAudioPlayer and AVAudioSession...
Now my problem is that I already have a written code that takes a number of songs as input from the user and plays them one after the other using AVAudioPlayer...
The problem is that when the app goes to the background while one ...
I'm pretty new to Objective C but things are progressing well. However, I think I'm missing a key concept relating to how objects are created and messaged. I hope someone can help me.
I'm creating an iPhone app that simply creates a MPMusicPlayer, and starts playing a song from the que.
I create the music player (myPlayer) in the AppDe...
Hi
I was trying to use IB in a slightly different way that I am use to and I can't get it working extending the normal approach I use, when dealing with IB.
Instead of making a new UIViewController and have the view XIB generated for me and everything linked together by Xcode, I would like to just build a small (320x40px) View XIB and ...
hi all,
i've create a UIButton subclass for my app and i need to manually reposition the titleLabel to be about 1/4 of the button's height. this post; http://forums.macrumors.com/showthread.php?t=763140 appears to directly address the same issue, and the solution is simple and perfectly understandable. however, i have failed to implemen...