iPhone 3G, OS 4.0: I get this message from the console when I am running a location-based app (CLLocationManager). It was occurring each time the NSTimer fired (every 15 seconds).
I removed the NSTimer from the code and it now occurs only once right before the "- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(C...
Can any one tell me what Intruments are in Xcode? Are there any tutorials or videos for learning about Instruments, such as the Lynda iPhone SDK Essential Training tutorial?
...
As you can see, both the text (left) and the detail text (right) have been truncated. How can I ensure only the detail text on the right is truncated, while the text on the left remains in full?
Thanks friends.
...
I have a use case where the application will automatically attempt to retrieve a location, the user can deny the permission, then the user can trigger the app to look for the location again (this time allowing it), but then the app will crash. Here's the basic code and use case steps, below, what am I doing wrong?
@interface AppViewCon...
I've searched around and I can't seem to find any good resources for Google App Engine with the iPhone. I'm using Java, but Python is also good. Thank you!
...
Under iOS 4, when my app installs from xcode it crashes on the first launch but not on subsiquent launches.
After commenting out some addSubView methods the debugger is finally giving me one piece of info
It crashes on [super viewDidLoad]. The debugger states:
Unable to access variable "button1"
- (void)viewDidLoad {
[super ...
After you click a link on the iphone or ipad, it leaves a simulated mouse hover that triggers the a:hover css styling on that link. If the link has a javascript handler that keeps you on same page, the hover state will not change until you click on another link.
This gets weird if you have an ajax widget that asks questions and each ans...
I'm creating a new CSR (Certificate Signing Request) using the Keychain Access tool:
Certificate Assistant -> Request a certificate from a certificate authority...
In the certificate information I fill in my email address and name,
selecting the "Save to disk" option.
I save the CSR to the desktop
The wizard completes successfully, but...
Are there any easy to drop in solutions for saving a number of images into a video file in iOS?
Example would be if I had 300 frames all saved as separate images and wanted to turn them into a single video file that a user could email or post on YouTube.
...
I have following files. UserSettingsViewController.h, UserSettingsViewController.m, UserSettingsViewController.xib, UserView.h, UserView.m.
Class of UserSettingsViewController.xib is set to UserSettingsViewController
There is a view in UserSettingsViewController.xib (you can see it in Interface builder's document window), i have set its...
I have a UITextField that has data in it separated by commas (i.e, 1,2,4) I want to look at this string and extract all the numbers out of it that are separated by the commas and put it in and array. So in this example 1 2 4 would be stored in an array. Can someone help me code something like this?
...
I would like to make an infinite scrolling on a UITableViewController, I'm using the scrollViewDidScroll: method to check the contentOffset, however I'm not able to drill down an offset that would be the bottom of the ScrollView.
Any suggestions?
Thanks in advance.
...
While this question does not involve any code, it does involve problems stemming from the fact that I don't own a Mac, and the impact that has on apps I'm working on where I do have access to a Mac. It's also a long read, so please bear with me.
iOS 4 and iPhone SDK 4 have been released; with that, I've made the obligatory upgrade on my...
Ok here is what i am trying to do. In my root view controller I have the main view and then inside that view, i have three additional views. (note this is for the ipad).
Here is what I want to do. When the root view loads i want it to load the other three views as well and all have their own view controller.
Here is what I have attem...
Hi Guys,
I have upgraded my iPhone SDK from 3.1.2 to 4. The application which I developed in previous version is running fine but I have only one problem.
When I close the application it is not calling application termination and deallocating anything. When I click home button application quits but when I open it again it opens exactly...
I'm gettin the followig error after converting JSON echo into a dictionary,
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ' -[NSMutableArray insertObject:atIndex:]: attempt to insert nil object at 0'
** Call stack at first throw:
Here is my JSON deserialization code, I've used this model before for ...
Hello!
I'm trying to embed an M4V video, it works on the iPad but not the iPhone.
On the iPhone I get a play button crossed over (the can't play button).
I am testing this on iPhone 3.0 (Original iPhone).
Any help/advice would be great.
My code:
<video id="sr-video" poster='' controls="">
<source src='http://blip.tv/file/get/FIL...
This is my code.I want to rotate my circle clockwise and anticlockwise.if anyone knows how to do it for a circle drawn with core graphics' please guide me how to do it.
- (void)drawRect:(CGRect)rect {
CGContextRef context = UIGraphicsGetCurrentContext();
mainSquare = CGRectMake(X_SPACE, Y_SPACE, 220, 200);
CGContextSaveGSt...
*I have been thinking of doing projects with offshore help. The idea is to use it to be able to do projects where I don't have much experience - say iPhone. Also I am looking for some of the same benefits as XP pair programming. Generally being dynamic, trying to do everything as cost-efficient as possible:
I will be involved in all...
Is it possible, without including an exhaustive list of models in the code, to determine if an iOS device includes a cellular radio?
I am working on adding a check for host reachability to an app, and I'd like the failure message to be appropriate for the device. For example:
A network connection is not available. Please join a Wi-F...