In my app I have an array of objects, called annotatedImages. One of the fields of this object is UIImage *image. I also have an imagePickerController using the camera. When the user takes an image it then creates a new annotatedImage and sets the image of that object to the cameras picture and adds it to the array. This works fine up ti...
Like the iPhone browser, when you tap the url text field, all navigation bar expand and "Cancel" button show up. Hit the "Cancel" button and the bar change back.
...
I am working on a mobile app on the Android platform (and going forward for the iPhone) and am evaluating the Flurry Analytics and Google Analytics platforms for the app. Both platforms have SDKs for the Android and the iPhone and seem very similar in most ways.
Do any of you have experience with both or either and would you recommend ...
I've tried to overwrite the accessor for -selectedBackgroundView in a custom UITableViewCell subclass. However, the cell keeps using the default blue selection background when the cell is selected. How to change that?
I'm actually pretty sure that this blue selection thing is the selectedBackgroundView ... what else should be responsibl...
I have an iPhone application that is mostly using standard controls. There is one view that is rendered in OpenGL (fancy graphs). In the interest of saving myself a lot of work, I looked around and found Cocos2d. It looks like it has exactly what I need (OpenGL ES, relatively simple to work with), but I've run into a problem.
I don't kn...
How to rotate from portrait to landscape? What would I have to implement? And what must I do that my views resize to the new width?
...
Is anyone familiar with how to customize the ToolBar in phonegap beyond the default setting? I understand there is the option to use black-opaque or black-translucent, but can I go beyond that? For instance using another color, or a gradient?
If this is not innately possible in phonegap, how is it done in Objective-C?
...
I am finding that isAnimating is returning true even after it has completed the max # of loops and stopped animating. However once you move the UIImageView, it will suddenly update and change to false.
Here are the important bits of my code:
I set up the animation in the standard way:
UIImageView* newImageView = ...
newImageView.animat...
I implemented iad to my app (sdk 4), i set the target to be able to run OS 3 and higher
now i need to test and make sure that devices with OS 4 lower won't crash because of iAd.
Is there a way to go back to iphone OS 3.2 to test this.
Where can i download it, apple has removed it from their website.
...
I'm having the same dilema. I recently upgraded my 3GS to 4.0 software and it will load under 3.1 but will not load on 4.0. I get this error...codesign failed with exit code 1. THe other question I have is when I loaded the new 4.0, my other build versions disappeared. How do I get them back?
...
I am trying to create an iPad application which needs a layout similar to contacts app. I want to have two views side by side controlled by two different view controllers. I was considering using SplitViewController, however as I found out, there is no official way too keep root view from hiding (keeping views side by side like contacts ...
I'm trying to display a small refresh button using UIButton in a standard UIView using the refresh icon built into UIKit. If I use an UIBarButtonItem it can be created as a refresh button, but I've had no luck in using this icon in other places.
So far I've tried to "steal" the refresh image of a UIBarButtonItem using the code below, bu...
Hello,
I am using FMDB to deal with my database which works fine. The app uses a background thread which is doing some work and needs to access the database. At the same time the main thread needs to run some quieries on the same database. FMDB itself has a little locking system, however, I added another to my classes.
Every query is o...
In short, I have a root controller RootController presenting a modal navigation controller showing Controller1, which itself presents a modal navigation controller showing Controller2.
I want to dismiss Controller1 and Controller2 at the same time by sending the root controller a dismissModalViewControllerAnimated: message.
I expected ...
I'm trying to find some of the old iphone sample code, becuase it seems like apple will only let you download the most recent versions (compatable with iphone 3.2 +). Is there an archive of these someplace, is there a reason that they remove the older versions of there samepl code?
...
I'm writing an application which uses NSUserDefaults as the data storage mechanism, and am hitting a problem when trying to save data (that conforms to the Property List protocols):
+ (BOOL)storeAlbum:(Album *)album
{
NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
NSMutableDictionary *albums = (NSMutableDictionar...
Hi there.
I'm digging through iPad/iPhone programming options/opportunities. What makes me wonder is:
Is there ANY 100% problem-free (i.e. no warranty removal) way to do B2B programming on this thing?
I'll try to explain. Last few years I did quite a lot B2B programming for different mobile platforms. Tasks usually were simple. There w...
Hi,
I have successfully set up unit testing for an XCode version 3.2.2 project with the iPhone SDK version 3.1.2.
I have created a class, "Callout" which I am attempting to instantiate within the context of a unit test. The class has a method,
-(id) initWithDictionary:(NSDictionary*)calloutDict includesSong:(BOOL)hasSong lastUpdate:(N...
this is the error show in console :
objc[1589]: Class Account is implemented in both /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/System/Library/PrivateFrameworks/Message.framework/Message and /Users/hugohnery-garon/Library/Application Support/iPhone Simulator/4.0/Applications/E6874214-2DFA-4446-...
You have to have one per thread, but beyond that ... should you have more? Is it harmful to have more?
For instance, I'm tempted to build my app around having one NSManagedObjectContext per tab, handling the subset of the overall persistent store that appears on that particular tab.
That way, I can have the tab GUI listen to notificata...