iphone

Populating a UITable with info from a website (mySQL database)

I'm looking to write an iPhone app that populates a UITable with information from a field in a database that is stored online, and when selected shows more information from the database. For example, a list of names that when tapped will show a bio for the person, some basic stats, and a picture. OR Is it possible to use CoreData, and...

How do you loop iPhone sounds?

Im working on a new game and i'm done but i just need to add some looping music, i have the sound file i want to loop, called theme.m4a How would you loop the music to play forever Thank you! ...

iPhone App Review and SHA1

My iPhone app uses SHA1 for password security over an instant messaging protocol. Will I be required to declare my app as "containing encryption" when I submit it to Apple's review process? ...

check if a user allows the app to use their location

The first time the app tries to get the users location they are prompted with "Would like to use your current location" and they can hit Don't allow or ok. Is there any way to find out if the user has hit ok or don't allow? I'm trying to have the MKMapView show the users current location but I would like to take different actions based...

mkmapview.userslocation property set to 0,0 after allowing app to use current location

Hello, On the first time the user tries to use the current location the map.userslocation property has coordinates of 0,0. The next time I load the view containing the map the users location is always found. I am setting the map.showsUserLocation property to YES on viewDidLoad and when the map loads on the screen the blue dot is ther...

Useful iPhone Libraries

What are the most useful open source libraries you have used in your iPhone Objective-C development? Any libraries that help you be more productive and can be a great asset for writing a new app. ...

How to load image from remote server on the UIImageView in iphone?

Hi, I am trying to load image from a remote server on the UIImageView in my application. Is it possible to load image from a remote server. I am using the following code id path = @"http://upload.wikimedia.org/wikipedia/commons/c/c7/Sholay-Main_Male_Cast.jpg"; NSURL *url = [NSURL URLWithString:path]; NSData *data = [NSData dataWithCon...

converting the bytes into ABRecord

HI All, I need to clarify the way to convert the bytes into ABRecord. I am into creating an application which backups and restores the contact item. The datas are stored in a separate server. During the restoration process, The server send the contact item in the format of bytes. So is there any ways to convert the CFData in to ABRecor...

how to stop UIProgrssView?

i have implemented UIProgressview in my application?But i dont know how to start and stop.Can u advice me for this question? ...

Image is not shown inside email body but sent as attachment.

I have added image in mail body. but when i send mail image is sent as an attachment but not shown in email body. I have to show it in body. i have done it like this NSString *path = [[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"]; NSData *myData = [NSData dataWithContentsOfFile:path]; [picker addAttachmentData:myData mi...

how to use performselector to invove the function with argument after perticular time period

Hi, I am new to this i phone app programming. I have a function with one argument type as structure pointer. This is shown below -(void)responce:(structurePtr *)someData { ...... ...... } I want to call this function using performselector method after 5 seconds of time interval. Please tell me how to call above responce function usi...

How to auto-scale UIImage size in UIImageView?

Hi As I try to put UIImage into a UIImageView, UIImageView auto-expended to display real image size. Is there a solution to have image auto-scale according to UIImageView's size. ...

Adding Message framework to the workspace -Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 is generated

when i am trying to add the message framework to workspace it produces error Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 ...

Simple C++ (or c) libraries for things such as fetching URL's

I am needing to write some code that I can compile and run on Windows, OS/X, and iPhone. The iphone is fairly limited in what you can include. Are there any simple libraries or websites that provide source code for basic things that could be compiled and use on the iPhone as well as everything else? ...

invove the function having one argument after perticular time period using performselector

Hi, I am new to this i phone app programming. I have a function with one argument type as structure pointer. This is shown below -(void)responce:(structurePtr *)someData { ...... ...... } I want to call this function using performselector method after 5 seconds of time interval. I have used below code to perform the activity [self...

iPhone Voice Trigger to Mute Audio

I don't see this out characterized like this before - but if I have a program playing music/audio in my headphones (say my own iPhone application I can modify as I see fit) that has my mother's bank words of wisdom I play every morning, but I want to tell my daughter to do something, at that point I want to stop the audio (1) while I tal...

presentModalViewController in landscape after portrait viewController

Hi, I have a main viewController that is in portrait mode all the time. I want then to presentModalViewController, but it will come from the left (not from bottom of the screen) in landscape. Is it possible? tnx ...

temp. removing spaces form array objects

I have an array full of place names. One for eg is "Tower Of London" i want to put it on the end of http://en.wikipedia.org/wiki/ and open it. how do i change the spaces to underscores.. eg 'Tower of London' to 'Tower_of_London'? any ideas appreciated as always :) Cheers ...

How to find the distance between two CG points?

When we touch with two fingers in a UIScrollView, we get two CG points. I want to find the distane between them. Then like I do the pinch(inside or outside). Then we will again get two points. Then after finding the distance again between these two points , I want to decide whether I pinched in or out. If i have pinced in, surely the new...

Iphone rotation

Hello! I want to implement the rotation in my application. So I made my canvas autoresizing. Here's the code: _canvas.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; But when I try to draw on it with touch the coordinates are bad. Bad, I mean I touch somewhere on the screen the touchevent gives ...