ios4

iPhone Audio Record with Export/Email Function

I have searched all over Apples website and the internet as well as Stackoverflow. Does anyone have any sample code or a tutorial of how I can record audio from the built in mic, and then export that audio via email? Please, I really need it for my app. Could someone email me sample code to henryfbemail(at)gmail.com Thanks a million! I ...

custom iPhone backspace and enter buttons.

Hi dear ,i have problem with the custom backspace and enter buttons on custom iPhone keyboard , The Backspace : my codes just remove characters at the end of the line not from the cursor location . if ([textView.text length]>0) textView.text = [textView.text substringToIndex:([textView.text length]-1)]; and read this question http:...

iPhone app crash on 4.0

All crash reports submitted for our application on iOS 4.0 are giving the below information: Application Specific Information: [3532] was suspended with locked system files: /private/var/mobile/Library/AddressBook/AddressBook.sqlitedb Any idea what this indicates and what could be the possible cause of crash. Our application is not int...

Problem with UITextView and frame task

Hi this is my UITextView coordinate on InterFace builder : so if i want use this coordinate via frame task , my UITextView going to change the position on the screen !!! i don't know what's the problem ! i insert the exactly numbers on the interface builder size tab . textPad.frame = CGRectMake(511, 219, 751, 260); what is the pro...

stopping an animation on the spot

hi guys, i have a UISLider that is being animated - going across the screen over a 91.0 second period. i would like to be able to stop the animation spot on. the code: [UIView animateWithDuration:91.0 delay:0.0 options:UIViewAnimationOptionRepeat| UIViewAnimationOptionAllowUserInteraction| ...

Fast, "Cheap" Image Encryption

I have a need of a function/library that can quickly encrypt an image on a low-powered device (cell phone, tablet, etc). I need to provide a string which can act as a password to encrypt and decrypt the image file. Ideally, I would like something that retains the image file format and just scrambles the pixels. I have tried prototyping...

Preview Frame from Quicktime Movie

I want to add a UIImage in a tableview that shows a preview frame from a list of quicktime movies that are stored on a server. I have the URL to the actual movies on the server, but I'm not sure how to grab just one frame of each movie to include in the UITableview. Thanks, Rob ...

Removing all traces of a UIView

Heya folks! I've got another question. I've got this NavigationController, which has a delegate: MainViewController. In this navigation controller, there's a table view, which has the same delegate: MainViewController. Whenever I press a row in the table, a view pops up called: itemViewController. Now, this all works really great. But ...

UIImagePickerController - Setting a maximum video duration

Hi, I am using the following code to allow users to record video using their iPhone camera, and then upload it directly to my server. I would like to put a limit on the length of the video they can record (5 seconds in this example) and it looks like using videoMaximumDuration would be the obvious way of doing that, but it has no effect...

ios4 multitasking controls & background Audio features question

I'm pretty new to IOS4 audio/multitasking and i cant find an answer on this topic: Got a, pretty easy, two part question: What framework works in conjunction with the ipod framework? Everyone's seen the pandora app, so the question is: How do you get the app to notify the user that music is playing (via the purple play icon in the s...

Recording Video in iPhone using AVFoundation Framework(AVCaptureSession)??

i am developing an application in which i am trying to record a video using AVCaptureSession class...i came across a few good tutorials like this one http://www.benjaminloulier.com/posts/2-ios4-and-direct-access-to-the-camera but in these tutorials only capturing images from the video frames is done while i want to record a full le...

Detecting Bluetooth Availability - iPhone

My app uses local Bluetooth to propogate data to a closed network, but it understandably crashes the program if you try and create a new network when Bluetooth is unavailable. I've no idea WHY Bluetooth is unavailable, incidentally, as it's turned ON in the iPod preferences and the symbol is showing up, but there you go. What I want to k...

Bluetooth not available - try again later

Yesterday, I had programmed a simple Bluetooth network for my iPhone application. This morning, when I tried to continue development, it suddenly wasn't working on my iPod Touch 2G at all. It works just fine on the iPAD however. The problem arises when I try and set the availability of my GKSession object to YES on the iPod, having creat...

iOS/ObjC, storing user input and retrieving it.

Hi, Pretty new to iOS dev, I feel I have a grasp of the basics. I was thinking through an app I would like to make and the steps involved, components needed... and I have no idea how to or what is the best method to save user input and retrieve it. An example being (I don't plan to make this, but it illustrates what I want to know), s...

Load rtf or text file into UITextView iphone sdk

Hi i was wondering how should i load rtf or text file into UITextView i use several codes but did't work , NSString* filePath = [[NSBundle mainBundle] pathForResource:@"filename" ofType:@"txt"]; myTextView.text = filePath; thank you . ...

Question about iOS 4 Application Lifecycle

I have some questions regarding the iOS 4 application lifecycle: 1) If an application (in the state not running) is launched to run in the foreground the UI Kit Framework calls the application delegate's callback method application:didFinishLaunchingWithOptions: followed by applicationDidBecomeActive:. After that the application is in t...

How to get the Template Chooser/Document Browser view on iOS?

What is the view used to create the Template Chooser view in the iWork apps on iPad? How can I create a view like that on iPad, and what would be a best way to implement it on iPhone considering screen size constraints. ...

UILabel backgroundColor in UITableViewCell always reverts to initial value

In my app, I have a UITableViewCell which is used to display a background color setting. In the detailTextLabel, it displays the name of the color with the background set to the actual color, e.g. [UIColor cyanColor]. Note that I am setting the background of the detailTextLabel only, not the whole UITableViewCell. When users tap on the c...

Grouped UITableView & edit-mode: strange behaviour

Hi, recently I implemented an grouped UITableView with editing, but the problem is: if the UITableView is in edit-mode, the content of the cells is moved to the right and this looks really unattractive. Thanks in advance. Regards, Sascha ...

Why do I get SIGABRT after the first iteration of this my for loop?

I feel very stupid for asking this, but I've been trying to figure this for about three hours and have gotten nowhere. See the code below. After the first iteration, my program crashes and all I get is SIGABRT. As you may get from the code, I'm just trying to build a string from other strings. It works fine on the first iteration, bu...