Save recorded sound
How can i save recorded sounds?(imagine the path of recorded sound is NSUrl *url) ...
How can i save recorded sounds?(imagine the path of recorded sound is NSUrl *url) ...
When I 'Build and Analyze" this code in Xcode, I get a warning that I don't understand. Here's the method with the problem: -(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{ UITouch * touch = [touches anyObject]; CGPoint location = [touch locationInView:self]; CGPoint relativePosition = CGPointMake...
Is there an API in the iOS SDK that deals with text messaging? ...
In order to measure the time duration while my app is running, as well as the time that passed while my app was idle in the background, I need a reference clock that is not altered by the user changing the Time+Date of his calendar clock. I can not rely on NSDate because that can be changed by the user while my app is in the background ...
So I've read some stuff about multithreading and NSOperation and wondering how I can use that to improve my app. Using Instruments I have isolated a few places where my app could definitely use a speed improvement. My question is, are these kinds of things suitable for another thread using NSOperation? Drawing a view: I have a rather co...
For the pch file I get these errors: /Users/matt/Programming/iPhone Monkey Curling lite/iPhone_Monkey_Curling_Prefix.pch:6:34: error: Foundation/Foundation.h: No such file or directory /Users/matt/Programming/iPhone Monkey Curling lite/iPhone_Monkey_Curling_Prefix.pch:7:24: error: UIKit/UIKit.h: No such file or directory Here's the fi...
Hi guys, Running into a problem with UIWebview, it doesn't seem to react to gesture recognizer. I would like to get a popover to appear whenever I do a long press on a link (or image) with different actions. Any help would be greatly appreciated =). Thanks. ...
I have a custom UISegmentedControl that I placed using IB into a Navigation bar much like it is done in the iTunes App. When the device is rotated in landscape mode, I want to repopulate the segmented control to make use of the more space I have there. I do: CGFloat controlWidth = self.frame.size.width; where self is the custom UISegm...
Hello all. I have 3 subviews in a UITabBarController. The first tab's view has objects which are manually moved when willAnimateRotationToInterfaceOrientation is called. However, if another tab's view is visible on rotate, willAnimateRotationToInterfaceOrientation is never called, and the items on the first tab's view are not in the rig...
I'd like to implement multitouch, and I was hoping to get some sanity checks from the brilliant folks here. :) From what I can tell, my strategy to detect and track multitouch is going to be to use the touchesBegan _Moved and _Ended methods and use the allTouches method of the event parameter to get visibility on all relevant touches at...
I have a button that load a link into a webview. While those links are loading, the networkActivityIndicator is animated until the site completely loads. But once a link is loaded, and I try to browse the website in the webview, by logging on to it or something, the network activity indicator does not animate. How would I implement it t...
I have an OpenGL-based iPad project. In one view I have objects being rendered and floating on the screen. When I add a transparent UIView on top of this view with a transparent table view with custom cells, I can see the table view and the objects still being rendered. Now - when I go to drag on the table view to scroll through elemen...
I'm building an iPhone app that communicates with an external server via JSON. The JSON library I'm using parses the response string from the server into a dictionary. Currently I've got a method that I've written that just uses hardcoded strings as keys for the dictionary in a constructor I've written called initWithDictionary:(NSDictio...
Hi. I've created a tabbar application using the template in Xcode, and have setup a working tab bar application. I want to know how I can change the view currently on the screen using a UIButton, so the result is the same as if the user just clicked one of the tabs. ...
So I created a new version of my data model, and made a previously optional field non-optional (giving it a default value). According to the documentation, this should mean my migration is eligible for lightweight, automatic migration. I also added options that allow this when I open the store, also per the documentation: NSDictionary ...
Hi, I made a program for the iPad. The program uses UITextView Controller. I used my own InputView instead the default iPad keyboard. My problem is when I edit the textview using my inputview, I lost the AutoCorrection and AutoCapitalization features of the textview. Is there a way to have my own textview inputview and still have the aut...
Hi I am working on an iPhone app which requires me to check if the button has been tapped & held pressed for 6 seconds & then fire an action which is playing some sort of sound. How should I detect this 6 second tap ...? On the other hand the user can also keep on tapping button for 6 seconds & then the same action should fire. Wha...
Hi I have an iPhone application which requires me to play a looping mp3 sound during the entire lifetime of app. But based on some actions performed by user this mp3 should stop/pause for while & another mp3 should play & then this mp3 should resume playing again. I havent really used any audio API on iPhone yet, I've just used Audio...
Possible Duplicate: API to determine whether running on iPhone or iPad Hi, I'd like to test the device in my application, to know wether I'm on a iPad device or on an Iphone. is there a easy way to do that ? thank's au lot David ...
Could someone explain to me how OpenAL fits in with the schema of sound on the iPhone? There seem to be APIs at different levels for handling sound. The higher level ones are easy enough to understand. But my understanding gets murky towards the bottom. There is Core Audio, Audio Units, OpenAL. What is the connection between these? ...