Hello
How can I add the "Pulsating blue circle" in my gps application.
Currently i am fetching my current location by CCLocationManager.
I am using mapView.showsUserLocation = True, but this only display a pin at my current location.
How can i get that "blue circle" as in the default maps app.
update: many app does this. for examp...
Is using "self" ever necessary in Objective-C or maybe just a good practice? I have gone from using it all the time to not using it at all and I don't seem to really notice any difference. Isn't it just implied anyway?
...
Hello everybody...
I have been fighting some code for about a week, and am hoping that someone else may have experienced this problem and can point me in the right direction.
I am using the MPMoviePlayerViewController to play a video on the iPad. The primary problem is that it works FLAWLESSLY on the iPad Simulator, but will not play ...
Hi chaps, I have an array of nsdictionaries and one key is ID (which is unique) I simply want to see if the the array of dictionaries contains a specific ID.
Really simple but its friday and after statiny up watching the election i think my brain is melting. Any help would be great.
Thanks
...
Hello,
In my app I move the table view (in order to make the text fields visible when the keyboard appears). The view is looks following:
This is the code I use for resizing the view and moving it up:
static const NSUInteger navBarHeight = 44;
CGRect appFrame = [[UIScreen mainScreen] applicationFrame];
tableView.frame = CGRectMak...
I have a view with half a dozen text fields and labels, and a button.
I want it to be that when the keyboard pops up, the view becomes scrollable, so you can scroll the view up and see the bottom half of the fields without having to dismiss the keyboard to get to them.
Just putting it inside a UIScrollView doesn't seem to do it.
...
I want to use a UIView heirarchy multiple times (the nib object is a template). Unfortunately, UIView does not conform to <NSCopying> so
[cell.contentView addSubview: [[templEditCellView copy] autorelease]];
does not work.
I wasn't surprised, since I want a deep copy of the view heirarchy.
Currently the view is one of several top-le...
hi, i am building a map project and i want to save my annotations to the web and download them anytime i want. What's the best way to do that???
...
Anyone had a smiliar bug? The control is placed from Interface Builder and not modified in any way by code. It was working fine until some time ago after a random build the bug appeared. Happens in two places in my app while the same exact kind of setup is fine inside another viewcontroller. In all cases the controls are inside a UINav...
Its common for the dataSource and
delegate to be the same object, its
also common for this object to be the
viewController.
In all the info/tutorials that I have seen online delegates are always setup as above. If I wanted to create my own class instead can anyone give me any pointers as to how I might do that. Where does that...
In regards to XCode templates with CoreData enabled, I've read http://stackoverflow.com/questions/2729055/unclear-use-of-property-in-window-app-using-core-data which goes over the 'what' in the templates. But I am having an issue with the 'why'. By declaring the category in the implementation file, the CoreData accessors act like private...
I'm looking into the new background location service options in the iPhone 4 SDK. It allows an app to run in the background and receive location updates from the device.
There are two methods offered. One is a battery intensive mode that continuously gets location updates. The second recommended method sends the app location updates whe...
What I'm trying to do is to access gdb on my iPhone (jailbroken) as inferior debugger via ddd. However it fails because the connection is refused, probably because of the password.
This is an example on how I want to do what I want:
ddd --host [email protected] /usr/bin/gdb
I've tried thinks like --host root:[email protected],... bu...
Hello
I have a problem with "CFDataRef.
I get the "data" field from a "kCFSocketDataCallBack.
"data" should correspond to a string received on the socket.
How do I convert, for example, in a NSString so I can put my text in a textbox??
Thank you very much
static void
AcceptDataCallback(CFSocketRef s,
CFSocketCallBackType type, CFDat...
Can anyone suggest an article or perhaps an example of how to create an "infinite drill-down" with UINavigationController like you see in the Facebook, IMDB and BrightKite apps?
...
How can I get flash effect for images got from Camera?
After I got image from camera (it shows in UIImageView) and before saving it as a file I'd like to lighten (in some cases) image by pressing Flash button. Is it possible by using Core Graphics ??
...
Hello All,
I have a question that I'm hoping someone can help me with. The app that I am working on was working fine. I created an Ad Hoc distribution for it and sent it to someone and everything was still fine. Now, I added another device to the profile and the app is crashing as soon as it boots up... never even makes it past the l...
I would like to handle out of memory errors in iPhone to execute logic with lesser memory requirements in case I run of of memory. In particular, I would like to do something very similar to the following pseudo-code:
UIImage* image;
try {
image = [UIImage imageNamed:@"high_quality_image.png"];
} catch (OutOfMemoryException e) {
...
Hello,
I'm working on a cocos2d game on iPhone. The game work perfectly.
Now I want to add an admob ad in the menu of my game. I can see the ad, but after few seconds (or minutes) of playing, the game crash (with no error message...)
Can you see where the problem is?
Menu.h
@interface Menu : CCColorLayer <AdMobDelegate> {
AdM...
has anyone used a uitableview to write a uitextview-like interface where I would be able to use multiple fonts?
How would I arrange the table and responder?
I need to have a editable view which deals with raw text (the font info would be stored elsewhere). UIWebView doesn't cut it because of both reasons.
...