I am looking into developing an audio delay line - external microphone to line out on the iPhone. Is there any sample code anyone could recommend? I have already been playing with SpeakHere and AurioTouch. AurioTouch is helpful although complex to sift through.
...
I'm fixing my app to be a universal binary. Testing on the simulator seems to default to the iPad. For small corrections like checking orientations and small UI updates, the only way I can find to get the iPhone version is to plug in my iPhone and build and run on device.
Loading the debugger takes valuable time, when running on sim...
Hi,
In an iPhone application, I try to catch animation endings using setAnimationDidStopSelector. I try to suspend code execution until animation ends. I have tried this; set a global BOOL variable, set it to TRUE before commiting animation and after commiting animations waited using a while loop. In the setAnimationDidStopSelector, set...
I have an NSTimer that runs at 60hz. With an OpenGL scene loaded and rendering, my game can get 60fps, solid, all day long.. Then if I go and recompile the app, or reload it, it will get 40fps. Same resources loaded. I've been running into this problem for years, and I just want to know why. It's crazy, and I want to know if I should...
(this is related to another question about implementation on iPhone)
I have a large image, size around 30000 (w) x 6000 (h) pixels. You may consider it's like a big map. I assume I need to crop it up into smaller tiles. Questions:
what is the tile strategy?
Requirements:
whole image (though cropped) can be scrolled up/down/left/r...
I have a large image, size around 30000 (w) x 6000 (h) pixels. You may consider it's like a big map. I assume I need to crop it up into smaller tiles. Questions:
what are the right ViewControllers to use?
(link) what is the tile strategy? (I put this in another question, as it's not iPhone specific)
Requirements:
whole image (thoug...
Our application lets users call phone numbers. Users would like to be able to block their caller ID.
On other platforms, we let the user specify a custom dialing prefix. For instance, on my cell provider it's #31#.
I've tried two approaches so far.
First:
id url = [NSURL URLWithString: @"tel:#31#0000000"]
// produces nil
Second:
i...
I have enabled NSZombie's and I am getting the following message in my console when I am running my application:
*** -[UIViewAnimationState release]: message sent to deallocated instance 0xf96d7e0
Here is the method that is performing the animation
-(void)loadAvatar:(STObject*)st
{
NSAutoreleasePool * pool = [[NSAutoreleasePo...
For one of my applications in xcode, I have the option to build for many different versions ranging from 3.0 to 3.1.3.
Now when I make a new application, I only have the option to build this new application for 3.1.3. I can't seem to find where this project setting is.
How can I build my application for 3.0?
Thanks.
...
I am trying to pass login credentials to a PHP script that I have in my iPhone app. When I pull a password with special characters the password is missing certain characters especially the percent sign. I am trying to encode the text but even before I send it, the percent sign is missing.
//p_field is a UITextField holding the passwor...
I have this code in a method called from applicationDidFinishLaunching. It works in the simulator, but crashes on the iPhone. There are about 1,600 2KB mp3 files being copied in this operation. If I try to instantiate the app multiple times, it will eventually copy more each time until the app eventually will start without crashing. I am...
If I lift my finger up off the first touch, then it will recognize the next touch just fine. It's only when I hold my first touch down continuously and then try and touch a different area with a different finger at the same time. It will then incorrectly register that second touch as being from the first touch again.
Update It has som...
I am trying to create a new method within my TapDetectingImageView file and it's giving me a warning that it cannot find the method even though I have it declared in the .h file.
The specific three warnings all point to the @end line in the .m file when I build it and they say: "Incomplete implementation of class 'TapDetectingImageView'...
I have some text in a UITextView. I don't want it to be selectable. How can I do this?
...
Here's my stack trace. Where do I start to figure this out? I've tried a ton of NSLog()s and I can't track it down.
#0 0x94e9ced7 in objc_msgSend ()
#1 0x04936318 in ?? ()
#2 0x0259b252 in __CFRunLoopDoObservers ()
#3 0x0259a65f in CFRunLoopRunSpecific ()
#4 0x02599c48 in CFRunLoopRunInMode ()
#5 0x02ae7615 in GSEventRunModal ()
#...
I'm making a universal iPad/iPhone app which can use the iPad's VGA out connector to mirror the content of the app on an external screen. However, the iPhone does not have this functionality. given the following code,
#ifdef UI_USER_INTERFACE_IDIOM
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
NSLog(@"this co...
I'd like to allow users to send out Tweets from my iPhone app. That's all the functionality I need at the moment.
From what I know of the Twitter API, there's a standard authentication mechanism, which allows the developer to include the user's name and password in the request string that the application sends to Twitter. This method w...
Hi...
I've added an UIAlertView that has UIActivityIndicatior as a subview on my application.
This alertView only show when the purchase is in progress. I've put my alert view in this way in my StoreObserver:
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions {
for (SKPaymentTransaction *transac...
In my viewDidLoad, I'm retrieving user preferences and updating the settings tab. It is working for editSelection (see code) but the other
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
BOOL editSelection = [userDefaults boolForKey:@"editToggleSwitch"];
editingToggle.selectedSegmentIndex = editSelection; /...
Hello friends,
I am trying to implement 'scrollview' effect in 'Tabbar' which has 'TabItems'. I found that the good example is from 'facebook' open source 'TTCatlog' project 'Tabs' section.
So i included all the source from it to my project and trying to build it.
I have followed the following links to go ahead on this:
http://stackove...