points between source and destination on a mapview
Is there any way by which we can get points between two locations so as to draw a route between these two locations? ...
Is there any way by which we can get points between two locations so as to draw a route between these two locations? ...
Hi, on the iPhone I want to check, if a specific file (test.licence) on a website exsists. My approach (so far) was to download the file and check if it exists in my Documents directory. However, if the file does not exists, Apache presents a HTML error page (which I download instead of test.licence). Checking the file size is a fuzzy s...
Hi, I have a problem I don't understand regarding UIViews and Core Animation. Here's what I want to do: A small view is presented above a bigger view by putting it as one of its subviews. When I click a button inside this view, the view should minimize and move to a specified CGRect. Then the view is removed from its superview. ...
This isn't so much a question as a pondering thought - why does NSNotificationCenter throw an exception when it's released? I'm still new to iPhone development, and thus don't know the innards of Cocoa yet, so it'd be good to understand why. I'm assigning the defaultCenter to a variable, calling addObserver:selector:name:object and then...
Is it possible to have UITabBarItem without image, but with bigger text instead? e.g.: to have text with full height? ...
Issue summary Changing the orientation of an iPad device or simulator while playing a video using MPMoviePlayerViewController results in an inconsistent rotation state upon dismissal of the video player. This is a known bug in iPad SDK 3.2, documented at http://www.openradar.me/8012810 Sample project I have prepared a minimal sample ...
hai to all I am developing Iphone App ,in that I should connect to cellular network using pdp-ip0 . avoiding any wi-fi connection (if there also).And using this cellular data network only I need to fetch the data from URL .could any one please help me how to do that .I have seen reachability code .But it only testing the network connect...
Hello everyone, Currently I am working on iPad. I would like to retrieve system audio files by default in iPad (I think it is the same in iPhone). Does anyone know how to retrieve it? I have tried AudioServicesCreateSystemSoundID or AVAudioPlayer but I can get these audio files (Marimba, alarm or ascending,...) Thank you ...
Hi all, is it possible to know when the map has fully loaded all of its data (I know u can with other connections) and then perform some action? Basically I want to do a task only if and when the map has fully loaded and not with the grey squares that show with poor network signal? Many thanks Jules ...
Hi, I am writing the code using cocos2d. I want to release all the memory I allocated. I have done it in dealloc method in the following way. All the objects I released are declared in interface file and property (assign) was set and are synthesized in implementation file. I used alloc method to create them like self.PlayerA = [[CCSpri...
Hello, How to change the font size and style of the uipicker view of iphone. can any one suggest? Thanks ...
I want to display a modal dialog i.e. user should not be able to touch anything under it, unless he dismisses the dialog first. [self setExclusiveTouch:YES] doesn't seem to help, user can still click the buttons below the dialog. any ideas? ...
In controller named controller1, I am pushing a modal view controller AddConversationViewController *addController = [[AddConversationViewController alloc] initWithNibName:@"AddConversationViewController" bundle:nil]; //addController.delegate = self; UINavigationController *navigationController = [[UINavigationController al...
Hi guys, I have added an instance of UIToolbar and buttons on top of it . Each button's belongs to the class of UIBarButtonItem. My Requirement is that each button has a customized layout , i dont want to use the native button styles provided by Apple. So i had 3 options in Interface Builder ( Plain , Bordered , Done ). I have selecte...
Hi, I'd like to handle touches (horizontal slide in particular) in a UIViewController subclass I did, but the problem is the controller's view contains a UIScrollView which covers the whole screen, so "touchesBegan:" and "touchesEnded:" events are never called in my controller. The scrollview only scrolls vertically. What would be the ...
I currently have two supported languages: English and Spanish. Thus I have two main.strings files for each language. One in en.lproj and one in es.lproj. What I want now is that the English main.strings is the default file if a user with a locale other than en or es arrives at the application, e.g. de or fr. I know I can set it manuall...
A quick question if I may, can anyone explain what I am missing below, I was assuming the 3rd one with the would work? @interface ... // These work @property(assign) SomeClass *someDelegate; @property(assign) id someDelegate; // This gives warning @property(assign) id <SomeClassDelegate> someDelegate; . @implementation ... @synt...
Memory management with delegates, it is my understanding that I don't retain delegates, I am a little unsure about what to do with the delegate if the view gets unloaded (via viewDidUnload) and later recreated (via viewDidLoad)? @property(assign) SomeClass *someDelegate; . - (void)viewDidLoad { [super viewDidLoad]; someDelega...
Hi guys, I've come into a strange situation with my NSFetchedResultsController. I've set it up with a predicate, and the sqlite3 table contains no entries when the app is loaded. Yet my controller sais that the one section in it contains two rows! One section is fine: - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {...
Hi, I understand using delegates in associated with other objects (i.e. UITextField etc.) But I am trying to find a simple example of setting up / using a custom delegate independently. Any help / pointers would be much appreciated. My understanding so far is: #import <Foundation/Foundation.h> @class TheBox; @protocol TheBoxDelegate ...