Basically I want to show the users location plus a list of selected location on a map. It can even have the standard iphone annotations. But, I have no idea of the general steps I would take to achieve this. Would I use MKMapView, or Core Location, or both? Could someone give me a simple outline of steps to take, or a link to a good tuto...
Hi All,
I have near about 255 image frames for background animation, 99 frames of enemy sprite and 125 frames of player sprite.
All animations are running simultaneously on the screen. That is background animation is running and 4-5 enemies are on the screen are present at a time, also player is there at the same time.
Take a look at ...
My problem is- i have three cell, within that i have each textfield now i want the user is clicking in which textbox. This method textFieldDidEndEditing gives me the value which user is inputting but i dont get any tag of the textfield
...
hi, the Newline character is not working in draw rect of UIView? can anyone help?
- (void)drawRect:(CGRect)rect
{
CGContextRef context = UIGraphicsGetCurrentContext();
UIFont * f = [UIFont systemFontOfSize:20];
[[UIColor darkGrayColor] set];
CGRect b = [self bounds];
NSString * text = @"hi \nr u";
CGSize sz = CGSizeMake(150,200);
...
hi all,
I'm trying to write an application that checks if there is an active internet connection. If so it reads an xml and checks every 'lastupdated' item ( php generated string ). It compares it to the database items and if there is a new value, this particular item needs to be updated.
My code seems to work ( compiles, no error me...
hi
I used In App Purchase and i follow all step to create In App purchase but my program always show me invalid product id.By In App Purchase status in itunes is "Waiting for review".
What should i do so that i get my product id valid.
Thanks
...
I am making an iPhone application that loads an image from the camera, and then the user can select a second image from the library, move/scale/rotate that second image, and then save the result. I use two UIImageViews in IB as placeholders, and then apply transformations while touching/pinching.
The problem comes when I have to save bo...
i want to create a custom callout bubble on MKMapView. But i want to create the call out bubble in the same manner of default bubble. So how to create a View look like annotaion in this image
I want a custom custom view which look like "Parked Location" annotaion in the following image. with custom width, height etc. P
I am not able t...
When I debug code below, I see that span is changed by mapkit from what I have provided. span2 contains different numbers from what was provided. Why is this happening?
- (void) viewDidLoad
{
[super viewDidLoad];
CLLocationCoordinate2D loc;
loc.latitude = self.atm.lat;
loc.longitude = self.atm.lon;
MKCoordinateSpan...
I am getting this error message,Whenever I show alertview in function :
- (void)navigationController:(UINavigationController *)navigationController
willShowViewController:(UIViewController *)viewController
animated:(BOOL)animated {
and then handling the click action in :
-(void)alertView...
In an iPhone application I'm developing I need to get GPS coordinates to perform some actions based on the values received. Users should have two possibilities of giving the location:
automatically from iPhone build-in GPS
by finding a specific point on a map (Google Maps)
I know how to user CLLocationManager to get current position...
Basically I want to copy the behavior in iPhone's Calendar where the day of week (Mon, Tue, Wed) is on the left side of the table's section header (left justified) while the formatted date (Apr 1, 2010, May 1, 2010) based on locale is on the right side of the table's section header (right justified).
I was thinking of inserting a variab...
I have UITabBarController with 2 tabs. One resizes just fine, when StatusBar size changes (emulator "Toggle In-Call Status Bar" menu item). The other one doesn't.
The problematic tab item contains a static view, which dynamically loads one or another view depending on certain things. While getting this setup working I discovered that ma...
hi,
how can i achieve UITextview with zooming facility?any tutorial please?
...
I need to get a short URL from a long one (that I made inside my app). I think that I already read about this, but I couldn't find it anymore here in SO.
Anyone has a piece of code or directions to point this out?
Best Regards
...
What is the fastest/simplest way to change only the size of the existing font on a UIButton? (pointSize is read-only)
Thanks in advance.
...
I am new to iphone development.I want a toolbar and a button in it.On clicking the button ,a mail compose view should open.I want the tool bar to be visible in the mail composer view.The mail composer should animate from back of the toolbar.How can i achieve that.
Recently i saw a application,which implemented this.The mail emerges fr...
Hi Guys,
Anybody have any idea about how to broadcast videos in iPhone? I found two apps in some blogs, Ustream(working in iPhone) and QiK(working in jailbroken iPhone). And also i got some info from this link
http://sol3.typepad.com/tagalong_developer_journa/2009/07/recorded-video-from-iphone-3gs-.html
But i need some more info...
Hello everyone!
I have created an alert view with two buttons using the following code:
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle: title
message: msg delegate:nil cancelButtonTitle:@"Replay" otherButtonTitles:@"Highscore", nil];
[alertView show];
I want to run some code when one of the buttons is clicked.
In order ...
I have a tab bar iPhone application with 4 tabs. In the Interface Builder I set view controllers for each tab.
I want to change style from plain to grouped for one UITableViewController.
I replace init method something like this:
- (id)init
{
self = [super initWithStyle:UITableViewStyleGrouped];
if (self != nil) {
// ...