iphone-sdk-3.0

how access functionality( like : busy,call ended,speaker) of dialer of iphone through coding???

hi all, i want make a phone call through my application and want to access dialer functionality to know called number is Busy or not , also want on speaker through phone dialer programmitically. ...

mpmovieplayer-resume audio after playing

Is there any way to resume iPod audio after mpmovieplayer finishes playing? Can't seem to get a handle on how to do this elegantly (slow volume up). Is there any built-in way? Or, if I use MPMusicPlayer like I am now, stopping and starting the audio abruptly, could this be grounds for app rejection? Thanks. ...

IPhone - UIImage to Binary String

I have this bit of code that get the image i have picked from the Camera and displays it into a UIImageView. I want to convert the image to a binary string so i can then make a URL call and pass it back to the server. How would I modify this code to get my binary string? - (void)imagePickerController:(UIImagePickerController *)picker ...

self "not a structure or a union" in a UIViewController class. Why?

I have spent a lot of time trying to figure out what the problem is... but with no success. My code is the following: ResultGoalViewController *resultGoalViewController = [[ResultGoalViewController alloc] initWithNibName:@"ResultGoalViewController" bundle:nil]; [self.goalNavigationController pushViewController:resultGoalViewController...

UITableViewCell transparent background (including imageView/accessoryView)

When I set the UITableViewCells backgroundColor to a semi-transparent color, it looks good, but the color doesn't cover the entire cell. The area around the imageView and accessoryView are coming up as [UIColor clearColor]... I've tried explicitly setting the cell.accessoryView.backgroundColor and cell.imageView.backgroundColor to be...

How to hide alertview notifications from iphone when making a call through code.

When I make a call in iPhone using code, it asks "Do you want call" message. Can anybody tell me how to supress/hide this message? ...

Is it possible to make a UIImage with a smaller memory footprint?

I have a UIImage that is being filled with the image coming from the iPhone camera. As the image has 2048x1536 pixels, it consumes a big chunk of memory. I hope this image is 24 bits, rather than 32 bits, but I am not sure. So this is the first question. Is the image coming from the iPhone camera 24 or 32 bits? The second question is...

App Crashes when NavigationController is popped!

Hi, Below is what I copy/pasted from the Crash Log sent by the client. I am unable to understand what does that mean :s Apparently it looks like the app crashed when navigating back to a previous screen (and that's what client has reported). What is UIWebDocumentView here? I need to resolve the crash but I'm stuck here so any help is h...

App Crashes! (Log attached)

Hi folks This is a part of Crash Log sent by the tester and I see the crash here but good thing is I have no idea what to fix in my code. I have saved the app.dSYM files necessary for displaying symbolic information (as per Apple's guidance) but I still don't see any relevant information. Any help? Incident Identifier: 45E8DE25-A6A6-...

how are these NSMutableArray initializations different?

In a branch of my code, I previously used this NSMutableArray *array1 = [[NSMutableArray alloc] init]; The above array is used populate a UITableVew. Just cause, I switched to the following: NSMutableArray *array1 = [NSMutableArray arrayWithCapacity:0] I made no other changes to my code) and my app crashes whenever I try to scrol...

guardmalloc what are those warnings and how do I get rid of them?

GuardMalloc: Allocations will be placed on 16 byte boundaries. GuardMalloc: - Some buffer overruns may not be noticed. GuardMalloc: - Applications using vector instructions (e.g., SSE or Altivec) should work. GuardMalloc: GuardMalloc version 18 (gdb) all of the sudden those guardmalloc messages appears in the console window. What's t...

photo editing app are these functions possible?

User would open the app and it would ask if User wants to use the camera or use a saved picture. If user selects camera, it would link with the camera view so that they can immediately take a picture. Application would present the user with an outline of a human body so as to match up with a subject they wish to photograph. Example – ...

how to do image morphing on uiimageview?

i want to create an app.some features i want to add and some effects i want do are like these. suppose i shoot a picture of a person male or female from camera.then only cut the body from the image.and then add some background to body.and further get some another clothes for the body.so that we can see how the person looks like with new...

IPHONE in-app purchase: is it possible to verify a receipt without using an external server?

The title says it all. I have a receipt of a recorded transaction stored by the application when the transaction was done and I would like to ask apple's servers if this receipt is valid. Is there a way to do this without using an external server? thanks for any help. ...

How to display back button in nav app?

I'm pushing a tableview in a navigation based app. The pushing view (viewOld) and pushed view (viewNew) are both UITableViewControllers. I have given viewNew a title from viewOld. Once viewNew appears, I see the title but no back button on the left. Shouldn't a back button appear once you give the view (viewNew) its title? I can click...

Streaming audio to iPhone

Are there any tutorials that discuss how to stream audio from the Internet to the iPhone for OS 3.x? The only one I've seen is very outdated and doesn't compile: http://cocoawithlove.com/2008/09/streaming-and-playing-live-mp3-stream.html. ...

iPhone sdk - open app store to specific app?

Is there a way to open the app store to a specific application? I tried using something like the following: [[UIApplication sharedApplication] openURL: [NSURL URLWithString:@"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284417350&mt=8&uo=6"]]; But got the following: "Safari cannot open the page because to ...

Displaying numeric value in label area of iPhone using stringWithFormat

I am new to Objective C and the iPhone SDK, and am trying to figure out the following as a simple example of displaying a numeric result in a label area: label.text = [NSString stringWithFormat: @"%d", 55]; This code above displays the number "55" in the label area. However, the following code results in the display of "0" (with calcu...

JSON IPHONE: How to send a JSON request and pull the data from a server?

Hi, I know barely nothing about JSON and I need to send a request to a server and read the data coming from it, using the iPhone only. I have tried to use the jason-framework to do that, but after readin the documentations I was not able to figure out how to construct the object and send it on the request. So I decided to adapted anoth...

how to mask an image using coregraphics?

i want to create an app in which i shoot a person from camera.then take only body of person not the background.i know that i need to use image masking.but don't know how to use it.could someone post a sample to do this. ...