iphone-sdk-4.0

My application is trying to hijack my own application?

I'm developing a iPhone application and until now not big problems. But today I had a weird problem. When I run my application in the simulator, everything works fine. But when I run my application on my iPhone 3GS I get a SIGABRT signal in the XCode and the following message on the console of my device: Sat Aug 28 12:00:56 Peters-iPhon...

Is it possible to reload a MapView?

Hi all, I am implementing a MapKit based application. In that I need to reload the map every 10 seconds. Is it there any property to reload the MKMapView? Please suggest any idea on this. Thanks in Advance, Sekhar Bethalam. ...

iPhone In-App SMS MFMessageComposeViewController Auto-Send

I am using Apple's documented methods for In-App SMS today (MFMessageComposeViewController Class Reference) This shows a Compose Message dialog box with the recipients and the body (optionally) pre-filled. However, the user still has to push the send button. The App, Vlingo, seems to have figured out a way to programmatically send f...

AVassetExportSession kills my audio.

Hi all. when I start –exportAsynchronouslyWithCompletionHandler: method of AVassetExportSession my audio is stops playing. I am using AudioQueue and OpenAL they both needs to be restarted after beginning export session. Is There any trick to make them work without restarting audios? ...

achieve Image filter like other image editing apps have in iphone?

Hello all, I am new to image processing and also in openGL and CoreImage,coreGraphics Libraries. I want to create a basic image editing app with these functionalities. Rotate,crop,resize,scale, along with these filters Black and white,sepia,night vision,colour dithering. What is the best approach openGL or coreGraphics? Any help regardin...

iPhone playing sounds while in the background

Hi, I have a small application which is much like a clock. It has been working great on IOS3, but now I am updating it to iOS4. What I want to do in iOS4 is to let it play a sound any giving time. For instance, if I set it to play at 4.00 PM I want it to play a sound, a sound from the application not from the OS. This works if the app i...

App Suddenly Closes

Fellow developers. My thanks to you all for your help and suggestions. My app SafetyKnight has been approved for sale by Apple and I have submitted an inApp Purchase version for approval. One last 'bug.' When first opening my app, it sometimes quits unexpectedly. Not often. But only rarely sometimes. Does the MKMap or maybe not str...

UILocalNotification several soundName

Hi, I have a UILocalNotification in my app but I want to play several sounds after each other. I can't find that my app can solve this, due to that my app is in the background. So what I want to know is if one can play several sounds and repeat them until the user has pressed "cancel" och "view", or if there is a delegate in my app th...

If I use the NSXMLParserDelegate, will my application crash or be rejected if I target OS 3.1?

I am using the iPhone 4.0 SDK for my development and the NSXMLParserDelegate protocol in my code. I am planning to make this work on 3.1 as well by making the deployment target 3.1 and base SDK 4.0. Since NSXMLParserDelegate is only on 4.0 and above will it work on iPhone 3.1? Even if it works will Apple reject the app? ...

iphone iAd error?

-[NSCFString bannerView:didFailToReceiveAdWithError:]: unrecognized selector sent to instance 0xbc459c0 2010-08-30 12:01:37.340 Transit[2892:207] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString bannerView:didFailToReceiveAdWithError:]: unrecognized selector sent to instance 0xbc459c0' * Ca...

unable to play audio file from document ??

when ever i try to play audio this error appears 2010-08-27 09:13:40.466 VoiceRecorder[3127:207] Failed with reason: The operation couldn’t be completed. (OSStatus error -43.) what does it mean I am physically storing file in Iphone Document folder and copying its name in my database so when ever I play it from database its correc...

regarding core data

How can we make any attribute of my table as a primary key in core data. if i have a file of .xcdatamodel and we are making some tables in that. Now i want to make an attribute of a table as a primary key or foreign key or unique key. so what is the procedure can any one help ?? plzz Hope your positive response ...

iPhone App crashes on iOS 4, works well on 3.x

I wrote a small application using iPhone 3.x sdk. The app works well on device/simulator 3.x. But when I switch to device/simulator 4, it exit directly when I navigate among the tab pages. Here is the log form ~/Library/Logs/CrashReporter, Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000000...

Download new classes to iPhone?

I want to be able to add additional classes to my iPhone app without having to go through the 7 day update process. It is like Consume by Bjango where they can update the providers and fix urgent issues without going through Apple's process. The code I need to upload needs to be its own class. This way I can add additional services (lik...

How to use Kal calendar Api to draw calendar ?

How to use Kal calendar Api to draw calendar like this ? If any one know how to do this please give a quick reply with code or any info on this topic source code of this API is here http://github.com/klazuka/Kal ...

How to save the value of indexpath.row

Hello I have a problem in my code. I have an application TabBar controller, with 2 tabs. The first tab is a map, and the second a list of cities(table view). When I click in a city, the application center the map in the city that I selected. So far so good. My problem is that I have a refresh button on the mapview, and I want that, when...

Can LocalNotifications be disabled by the user.

Hi, I want to use UILocalNotifications as a background timer for an app. Can this notifications be disabled by the user like remote notifications? If the user disables remote notifications for the app, are the local notifications disabled to? ...

How to remove old versions of iPhone SDK when installing the new one?

Hello, I have downloaded iPhone SDK 4.0.2, I wanted to install it, but it looks that I don't have enough space. This made me think that maybe I could unistall the previous versions of iPhone SDK and install only the newest one. Does anyone know how to do this? Should I keep the old versions? Is there any situation they could be useful?...

AVassetExportSession kills my audio.

Hi all. when I start –exportAsynchronouslyWithCompletionHandler: method of AVassetExportSession my audio is stops playing. I am using AudioQueue and OpenAL they both needs to be restarted after beginning export session. Is there any trick to make them work without restarting audios? Well. Nobody has answered to me, so I will answer myse...

iPhoneOS, using applicationWillResignActive

Hi Everybody, I want to use this function applicationWillResignActive perform some tasks. before the application shuts down due to incoming call, message or user close it manually. Can i send an email message/in app sms using this function ? Will those tasks would be performed or the application would immediately quit due to the above ...