I am curious if anyone has worked to overlay element from Open Street Maps onto a UIMapView.
Maybe things like trails from Open Street Maps?
I know that the API allows you to grab xml for parts of the map. Has this been done before, and documented?
...
I am trying to use the following code, but I always get an error that I can find little information about:
- (id)initWithNibName:@"MyRidesListView" bundle:nil {
if ((self = [super initWithNibName:@"MyRidesListView" bundle:nil])) {
// Custom initialization
}
return self;
}
Error:
expected identifier before 'OBJC_ST...
I need to populate an array using data from a NSURL. How do I determine when the download from the URL has completed?
...
I've been working on an iphone project and have run into an issue. Currently In the table view where it displays all the objects, I use headers based on the objects datePerformed field. The only problem is that my code apparently creates a header that contains both the date and time resulting in objects not being grouped solely by thei...
Hey
In my app, I need a way to tell when my webview is finished loading. It is very easy to do that if content is html. However, my content source is javascript with iFrame inside, it will cause UIWebView finishedLoad method called several times. Is there anyway I can check to see if the iframe is finished loading?
...
Fot testing iPhone apps, is it a bad idea to have a development code signing provision that will run any app with com.mydomain.* ?
Why?
EDIT:
See italicized edit above.
...
Hi
I am developing iphone application, I have a home page, with buttons (icons), I have an icon for notifications, I want to display a badge number on it to determine how many new notifications user has. How I can do that for UIButton? I checked the SDK and found only UITabBarItem has badge value.
...
I want to create a CCLayer with an animated tiled background from a larger texture atlas with Cocos2d.
I know how to drop a background in a CCLayer. I know how to create an animated CCSprite. I even know how to handle tiled world maps. But I can't find a proper way to combine all these elements in the desired form.
How would I do this?...
Given two labels (or views), how would you automatically move (reposition) the lower one relative to the changing vertical size of the upper one.
...
Dismissing/presenting a modal view controller which contains a tableview makes the table go down one row each time. Repeating presenting/dismissing pushes the table downwards out of the view in the end.
How can I fix this?
...
I have a set of tiled image collections created via Microsoft's Deep Zoom composer, and a Silverlight application that currently consumes them for display via MultiScaleImage - it's all working pretty well - I'd just like to get some experience with iPad programming and
have a couple of ideas for some iPad applications. All my ideas rel...
I want to build an app that shows a empty tableview. Then users can write a text on a searchbar and when they click on Search button the tableview will be written with array items founded.
I've see this tutorial: link text, but I only need to search when user click SearchButton. How can I do this? What methods do i have to use?
I've ...
I really combed this site and others. I read and re-read the related links here and the Apple docs. I'm sorry, but either I am obviously missing something right under my nose, or this Apple profile/certificate stuff is a bit convoluted. Here it is:
I have a product in the App Store.
I have updated it several times and users like it.
My...
My app has about 10 different UIViewControllers, just one of which I want to switch to landscape mode if the device is rotated. (All the rest, I want to keep in portrait.)
In order to implement rotation on that one view, I needed to implement its controller's 'shouldAutorotate' method and return YES. Since this view is accessed via a na...
I am trying to count entire files in a directory, including subdirectories. This is what I have to count files in the first folder:
-(NSString *)numberOfPhotos
{
NSString *MyPath = @"/rootdirectory/";
NSArray *directoryContent = [[NSFileManager defaultManager] directoryContentsAtPath:MyPath];
return [NSString stringWithFo...
I've declared a property in a view (created by interface builder, if it matters) and am trying to set the value from the view's controller – like so:
self.view.url = someURL;
That gives this error:
Request for Member 'url' in something not a structure or union
I have included the header for the view in the controller's .m file, but...
Hello everyone,
I know that you can access your own application files using NSDocumentDirectory and such, but can you do that on other applications. For example, if I wanted the Documents of another application, would it be possible to get that information? From the iPhone OS Library as directed here.
Sincerely,
Kevin
...
I have a new view controller on the iPhone which I call using the following line of code:
[self presentModalViewController:controller animated:NO];
This works great if animation is on, but I am looking to have an instant switch. The problem is when I set animation to NO, the whole view shifts 20px to the right (it is always in landsca...
Why the NSArray allocated with arrayWithObjects dealloc automatically if already used by BObject object?? in teory NSArray must remain allocated all the BObject life time...
[[BObject alloc] initObjectName:@"oneObject" states:
[NSArray arrayWithObjects:
[[State alloc] initStateName:@"stand_front" singleImg:[NSArray arrayWithObjec...
I have been looking to switch to OAuth for my Twitter integration code and now that there is a deadline in less than 7 weeks (see countdown link) it is even more important to make the jump to OAuth. I have been doing Basic Authentication which is extremely easy. Unfortunately OAuth does not appear to be something that I would whip toget...