I have the exact same question as this post but with a better description of the problem.
Using Inteface Builder (IB) I am unable to connect a button to the View Controller ("File Owner") in Apple's MoviePlayer sample. It will only connect to "First Responder" yet somehow, the Sample has accomplished this (see image).
To put it another...
Timespace problem: You make a big hierarchy of views, and give every layer a different speed value. Now all the Timespaces are messed up. At the bottom of the hierarchy you don't know what kind of time distortion you have. -10%? -90%? +50%?
UIKit somehow has to calculate the speed in the hierarchy when animating. So I wonder if there's...
Looking at the Apple iPhone Core Data Recipes sample app, they store image files in core data objects, which is not something I would normally think would be wise. Now I'm going to be also stories captured video on the 3GS. The question is: is it wise to store images, and then furthermore, movies, in Core Data on the iPhone?
In addition...
They say:
The timing protocol provides the means
of starting an animation a certain
number of seconds into its duration
using two properties: beginTime and
timeOffset. The beginTime specifies
the number of seconds into the
duration the animation should start
and is scaled to the timespace of the
animation's layer. The...
I am opening an image picker, camera style, as a modalviewcontroller. If I open the image picker, then cancel, the previous view comes back fine.
If I open the image picker, take a picture, then go back and cancel, the background to my previous view is missing and I can see through to the main window. Does anyone know how this might h...
Hi everyone,
Is it possible to serialize a UIView object? If yes how can I do that?
Thanks
...
When the iPhone can't find a GPS signal, it uses Wifi to guess at your GPS location.
When it can't find your Wifi location, it defaults to the wifi network where you activated your phone.
Is there any way to determine when these two forms of location are occurring?
The LocationManager provides a horizontalAccuracy reading, but if you ...
Hey guys. I'm creating a 30-35 page comic book and just have been hitting roadblock after roadblock in my journey.
1) I know that I have to create 30-35 different UIScrollviews with the images inside. The problem there is that the autorotation automatically throws half the image off the screen
2) i have no idea where to place this code...
I have a UITableViewController which implements UISearchDisplayDelegate and UISearchBarDelegate
when I load i would like the text entry to be active and the keyboard displayed so the user can begin typing immediately.
I tried
[self.searchDisplayController setActive:YES];
in the viewDidLoad method.
The field becomes active and the ca...
I want to make a program that parses an XML file and then updates labels on 2 different tab bar views. On both of these views, I have a refresh button to update the results. What I'd like to do is update both of the views labels from either view. I figure the AppDelegate is probably a good choice to make this happen, but I tried creat...
I want to add a view to my application that allows the user to change several (many) settings. It should look like the built in "Settings Application" (see here) but it has to be within my app itself. At the moment I just have a tableview and I manually add different cell objects (corresponding to switches, sliders, etc). Is there a smar...
Hi,
Has anyone heard of that before? It's making me crazy.
It happens only in the main app I'm working on. Other apps do show NSLog's in the console when running on the device.
I've tried re-installing the sdk, rebooting the computer, cleaning, deleting the build folder, rebooting the phone, a million things. I know the nslog code g...
I'm using initWithContentsOfURL of NSData to load an image from a url. However, I don't know the size of the image beforehand, and I would like to the connection to stop or fail if the response exceeds a certain size.
Is there a way to do this in iPhone 3.0?
Thanks in advance.
...
I could use some help. After a few frustrating days of trial and error, I'm getting inconsistent results writing preferences to NSUserDefaults.
Here are the consecutive lines of code:
NSLog(@"startTimer(): End Time defaults: %f\n", [defaults floatForKey:kEndTimeKey]);
NSLog(@"startTimer(): new End Time: %f\n", endTime);
[defaul...
I would like to create a website that is iPhone-friendly ... that looks like an iPhone app, but is really on the server, just like Gmail for iPhone.
My understanding is that this is how Apple originally had planned for application development to happen. However, I can't find documentation on how to do this. Is there a link or something...
Given a certain state of one of my UIViews I'd like it to respond to touchesBegan and then cancel any further touchesMoved/Ended that continue from that particular touchesBegan event.
Basically I have an UIView subclass at rest and if it's touched I'd like to move some other UIViews out of the way... then the next time it's touched the...
My app has two views, one holds the OpenGL context which is constantly redrawing itself (through an NSTimer) and the other holds a picker wheel. While I'm spinning the wheel, it seems that the timer stops firing. Is there some method I could override for the picker view to manually call the draw? Or some way to keep the timer firing?
...
On the iPhone, I get the user's location in decimal degrees, for example: latitude 39.470920 and longitude = -0.373192; That's point A.
I need to create a line with another GPS coordinate, also in decimal degrees, point B. Then, calculate the distance (perpendicular) between the line from A to B and another point C.
The problem is I ge...
Hello Everyone,
Hope you all are fine and also in one of your best mood.
I need your help to know one thing in iPhone, if You know then please share it with me and lot's of other phone developer.
I am developing an application in which i need to record a Sound and Add it to iPod Library.
I finished with recording file, but now issue ...
Anyone can tell me how to get and display the fps (frame rate) of a running program on screen?
...