I'm adapting the third part of ScrollViewSuite to display a large map in my app. Unfortunately, it's sometimes very easy to crash Apple's unmodified sample code on my device- a 2nd gen iPod Touch. If I swipe and pinch many times and very quickly, the app will crash with low memory. If this happens, it can be consistently and quickly repr...
Before iOS4 I could successfully build my App using the Adhoc distribution profile and send it to my clients for testing.
Now under xCode 3.2.3 when I (and my client) drag and drop the .app folder into iTunes, the App does not appear among the list of apps and no message (error, warning, etc) is displayed.
Is there a known problem wit...
So I have some animation blocks to create some very simple animations on my app (eg. a wheel spinning continuously). This is the code for the animation (I have changed if from the old commitanimations style block but was getting the same problem with that).
[UIView animateWithDuration:30 delay:0.0
options:(UIViewAnimationOptionAllo...
I have an application that was running just fine under OS3+. But it does not work under OS4. I get the following error message :
'NSFetchedResultsController does not support both change tracking and fetch request's with NSDictionaryResultType'
Does it ring a bell to anyone here?
(NSFetchedResultsController *)fetchedResultsController {...
So I downloaded a sample application and I'm guessing it was made before the iphone os 4. And when I try to compile it gives me that error.
I don't know if the programming would be any different. Can someone tell me if there were any changes in programming between os 2.2.1 and os 4? How do I make this application compatible for os 4?
...
I have a view containing a segmented controller and a UIDatePicker that only shows 24-h time. I want to be able to set different times depending on what the segmented control says. So "Mon" would correspond to one time, "Tue" to another and so on. I have this working. However, I also would like to animate the picker when the user changes...
We are moving an app from iOS3.x to iOS4.
Now a shadow shows up for the TTLauncherItem's badge, as show in the image.
How to get rid of that shadow?
...
Hi,
I got this iAd crash randomly in my app. What could I do to fix? I don't see any hints for me to fix it because on the simulator it never happens.
Incident Identifier: CA4CBEB9-A081-459B-BAAA-C7D58A0E0ABC
CrashReporter Key: e24b9614a897f92ee13ce00b76c71db307c61dcb
Hardware Model: iPod2,1
Process: FooApp [737]
Path: ...
Anyone know why Jeff Lamarche's Alert View with prompt class produces a alert that is mostly off screen when used in iOS4? All the code in a downloadable project can be found here:
http://iphonedevelopment.blogspot.com/2009/02/alert-view-with-prompt.html
His sample project out of the box, in the 3.2 simulator (running as an iphone app...
I have a UIImagePickerController that lets the user pick an image from their library, edit it, and then save the product out to disk. Before it saves, however, I need to update a UIImageView to hold the edited photo. But when I go to set the UIImageView's image property, the program crashes. It still can save to disk.
The UIImageView is...
Bill Dudney created a sample iPhone Bonjour application to demonstrate how to use Bonjour to discover and connect to two iPhones. Unfortunately, this application was made for ios2.2.1. Does anyone know how to convert this application to the new ios4? OR if someone knows of another example application that is made for ios4?
...
G'day guys, I've been having issues with compiling pjsip for iOS 4.0.
I'm using the latest trunk version from SVN and keep getting a portaudio error. When using the piedmontwireless guide: http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312 I get a missing separator error in my build.mak file, which would indicate a whitespace/ta...
I'm trying to setup a UILocalNotification object's repeatInterval attribute. It works well with NSDayCalendarUnit, but I need to set a repeat interval of every three days.
I've tried NSDayCalendarUnit + 3, but that doesn't work. Any ideas?
...
I have been re working the iPhone 3 dev book to see if it all works in iOS4.
All went well until I hit the Data Picker
Is anything changed there? I was able to get Date Picker to work but nothing after that.
...
Hi,
I am experiencing an issue with activity indicator freezing when I move application to background and then bring it back to foreground. The application can be loading some data over the network when it is moved to background. Hence I display an activity indicator to the user. I have added the code to make sure that the task finishes...
How do I isolate touch events from each other? For example, I have one method that should be called if the view detects a single tap, and another method that should be called if the view detects a double-tap. The problem with the way I'm doing it is that a double-tap is always interpreted as a single tap before it is intereperted as a do...
I'm setting a UIImageView into my table cells during - (UITableViewCell *)tableView:(UITableView *)tableVw cellForRowAtIndexPath:(NSIndexPath *)indexPath
They are stretchable images (created with stretchableImageWithLeftCapWidth)
How can I update their size when my table view is rotated to another orientation?
...
Are there are resources for determining the penetration of iOS4 vs 3.1? Similar to the way adobe reports on flash's penetration to help developers plan.
...
I have a UIScrollView where the content size is larger than the frame. I am displaying a UIPopoverController and want to use the frame of a UIImageView for the call to set where the popover will be placed:
[popoverController presentPopoverFromRect: imageView.frame inView: self.view permittedArrowDirections:UIPopoverArrowDirectionAny ani...
Hi guys,
This was working fine before compiling with iOS4.0 and I can't figure out what's wrong.
Here's the problem. I send my app scores from my database with a date/time on it. My goal is to store that in CoreData. When I use the code below I get a null value for the date.
Code:
NSDateFormatter *dateFormatter = [[NSDateFormatt...