This is just an example of the basic problem I'm having, so don't worry if this situation sounds a bit pointless ;)
Let's say I have an app that's mainly a UINavigationController just two levels deep. The top level is a table with a list of image filenames, and the second level has just a UIImageView showing the image for the filename ...
Hi,
I want to log my iPhone application activity in a log file on the device. Could you please let me know how can I do that? How can I access the file?
Thanks.
...
I have a UIView subclass that I manipulate a lot of graphics on based on touches. All the [self setNeedsDisplay] calls seem to be fine.
However, I used an instance variable pointer to my same UIView subclass instance, and then tried manipulating it and then calling [UIViewSubClass setNeedsDisplay] from another UIView class, and DrawRe...
Hey
Could anyone advise on whether the iPhone SDK 3.0 still does not allow access to the raw camera pixel data
This is how it was with all the previous SDKs and I thought it must have been a move by Apple to ensure they were the first ones to implement the video recording. Since 3.0 now has video recording, and as far as im aware the ...
Now that iPhone 3.0 sdk is public, I think I can ask this question for those of you that have already been playing with the 3.0 sdk. I want to record audio in my application, but I want to use AVAudioRecorder and not the older way of recording like the example SpeakHere shows. There are not any examples of how to best do this in the iP...
Is there a link to how I can get the 3.0 SDK without having to pay a second time? I'm joining another guy at my company on a project.
...
I have a UIScrollView with nested UIImageViews. Each imageview can zoom, but when I try to scroll the inner scrollview while zoomed on the image, the outer scrollview picks it up and switches imageviews.
How can I prevent this from happening so that the outer scrollview only scrolls when the inner is not zoomed?
...
I converted my old UITableViewCell from being programmatically created to using Interface Builder and a Xib. When implemented in code and in edit mode, I moved some of the labels in the cell to make room for the delete button. How do I change the layout of the cell in edit mode when implemented as a Xib? Preferably animated. Links or tut...
I'm building an iPhone application where I detach some threads to do long-running work in the background so as not to hang the UI. I understand that threads need NSAutoreleasePool instances for memory management. What I'm not sure about is if the threaded method calls another method - does that method also need an NSAutoreleasePool?
Exa...
Ola Folks,
This might not be the right place for this. Let me know where I should post if I should post it elsewhere.
I want to get the orientation of the device. I am thinking I can use something like this:
float fAngleX = atan2(acceleration.y, acceleration.z);
float fAngleY = atan2(acceleration.x, acceleration.z);
float fAngleZ = ...
I would like to add resource files to a .bundle and push them to my application and it seems to work fine in the simulator but fails to build when I change to the device.
/Users/sosborn/Projects/MyPro/build/Debug-iphoneos/FooBar.bundle:
object file format invalid or
unsuitable
I don't want to load any code or anything, just p...
I've got the code below in my RootViewController (which is a UITableViewController). This code is executed when the button in the navigation bar is clicked and then (in the simulator) the next view is shown. However, the subviews (UITextLabels, UIButtons) that are drawn in in the view managed by the TripDetailsController are not displaye...
I'm currently experimenting with writing an iPhone app and am having some trouble with understanding how to exit an app properly.
Basically, I have a view controller that is displaying a table of data to the user. At the same time, when the application launches, it spins a new thread to retrieve data from the server and update the tabl...
Hi All,
I am currently working with a device that has iPhone OS 2.2.1.
And as You all know that the OS 3.0 update is available for download.
I have downloaded the update and also read many comments on it.
I have developed all my apps on OS 2.2.1.
Just to confirm , if i install 3.0 on my device will the apps be compatible.
If not then c...
The new IPhone OS 3 enabled push notifications, which I'd like to use, however, this would be the only feature of 3.0 that I would be interested in. I noticed that the TapTap Revenge application kept their 2.0 compatibility in the store, yet when I upgraded my device to 3.0, I got the popup to enable the notifications. Does anyone know h...
Hi All,
I know by this time that there is no way to down grade from 3.0 to 2.2.1.
So, can any one tell me how to take the back up of the iPhone device with 2.2.1.
Thank you All.
...
When I connect two iPhones at the same time to my computer and Build and Run a project the app only installs and plays on one of the devices.
Now, with the iPhone 3.0, that supports bluetooth peer-to-peer connectivity, to test a multiplayer project you have to install and run it on two devices at the same time. It would be very helpful ...
as title how to?the class method of UIToolbar is add the button all in single line
[contentToolBar setItems:items animated:NO];
but i want it can add in different line or multiple line, thanks
...
Hi i have used Tab Bar Application with 4 tabs and i have set navigation controller from IB.
Now for my photo view, when user choose photo from list, it should display large photo. For larger photo, which view should i use?. If i will self.view and it will display both tab bar and navigation bar. If i will give tabbarcontroller..view t...
i want to resize cell's height according to the label's height and label's height according to text...?? or is there any way i can resize the cell's height according to the text entered in uitextview?
...