Well I had an app I was developing in iPhone SDK 2.2 and I recently built and launched it in the 3.0 simulator. The base SDK is still set to 2.2. I figured that would avoid issues. Instead I get
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000a1b1c1f3
Crashed Thread: 0
Thread 0 Crashed:
0 ...
Hi, I get a lot of noise during playback. The noise is not there when I play it on my mac, so it has to be an error with the AVAudioPlayer. Has anyone else experienced the same? I have had this problem for several months, but never got an answer anywhere.
All replies appreciated, Hans Espen.
...
Can someone please tell me how to get a full screen image preview view when someone taps on an image view of a nib... like the one in appstore application screenshots....
it will be a real help...
Thanks in advance
...
I built a simple iPhone application for a customer
This will be distributed via iTunes using Ad Hoc Provisioning profile
I need to build two different executables
1) a test application and an 2) official application
the only differences between the two applications are:
. the Default.png startup screen
. some image icons in the applicat...
I have a UITableView subclass and a UITableViewCell sublass that I'm using for cells. I'm bulding all my cells in advance and store them in an array from where I use them in cellForRowAtIndexPath. Aside from this I have a thread that loads some images in each cell, in the background. The problem is that the cells don't get refreshed as f...
NSDictionary is good for key-value pairs, by what data structure is best for when you have three values? Is is best to create a class for those 3 values, and then let each object in an array contain instances of that class?
To be specific: The data structure, let's call it Person, I envisage has three values:
(NSString)name, (int)age, ...
A simple question. Is it possible to use bluetooth in iPhone to transfer file to other mobile phone such as Nokia or Blackberry. I tested iPhone bluetooth function today. I found it's possible to detect other phone in discovery mode. But the iPhone is not detected in other devices.
...
I have read in the documentation about automatic /lightweight migration for Core Data models - but am having problems in the reality of implementing it.
As I understand it the application should notice that the model it has and the model that exists on a device already are not the same. If you have only added attributes or relationships...
I have a set of functionality (classes) that I would like to share with an application I'm building for the iPhone and for the Blackberry (Java). Does anyone have any best practices on doing this?
...
hello i am stuck in a strange situation.i want to generate buttons on a view using a loop .
suppose i want to generate 3 buttons.i have added a uiview btnframe to my main view.now i want to add button inside that view using that view's cordinates.how do i calculate btnframe's
bounds.
...
Questions on calling web services from iPhone?
Anyone have any recommended tutorials on doing this?
Anyone have any best practices on implementing security with these calls?
Has anyone made or seen any shared libraries or wrappers for easy web service calls from the iPhone?
...
From my iPhone app I insert some data in my sqlite database that include a date using the CURRENT_TIMESTAMP default value. Everything works great except for the fact that the time is 1 hour behind the time it should be. And that happens both on the device and the Simulator.
Any sqlite settings (like current time) i can access somewhere?
...
I hide the status bar in applicationDidFinishLaunching using
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];
That works fine except the status bar is there while the app is loading. Meaning, when the default.png is displayed, I see the status bar. Is there a way to have the status bar not show at all?
...
I am using the accelerometer to scroll multiple subViews in a UIScrollVIew. I want the view (portrait orientation) to scroll to the right when the user flicks the iPhone to the right, and scroll to the left when the device is flicked to the left.
I thought I could do that just by noting positive or negative x acceleration values, but I...
I just tried compileing my iPhone app against OS 3.0 and I get a compile error when using fast enumeration.
I'm trying to go through an NSArray containing cComment classes:
for (cComment* newComment in comments.comments)
And I get this error
error: type of accessor does not match the type of property 'comments'.
This works flawless...
So I'm trying to fetch objects from core data. I have list of say 80 objects, and I want to be able to search through them using a UISearchBar. They are displayed in a table.
Using the apple documentation on predicates, I've put the following code in one
of the UISearchBar delegate methods.
- (void)searchBarSearchButtonClicked:(UISear...
Hi,
I'm having a problem with the following code. As you can a TripDetailsController is created (subclass of UIViewController) and this one is initialized with the initWithNibName method. This initWithNibName takes an extra argument (tripDetails), see code of TripDetailsController class below. The variable td has a value and when steppi...
The new iPhone O/S 3.0 added support for programming for accessories - but what accessories would you like to program for?
--UPDATE--
How would you use accessories like blood sugar monitors, car engine system monitors, credit card readers etc?
...
I recently upgraded to the iPhone 3.0 sdk. Once i did this, i needed to reinstall the correct provisioning profile on my iPhone. However, i can no longer deploy to my device when i need to debug things. In the organizer window i get the following error:
The iPhone “(my iphone)” doesn’t have
the provisioning profile with which
...
Hi,
I would like to have the keyboard already displaying when I show my view.
I have two view controllers, of which the keyboard is part of the second. However, when I call [textField becomeFirstResponder] during the second view controller's viewDidLoad method, the keyboard slides up on top of the first view.
Is there any way I can ha...