Hi all,
I am creating an iphone application that use audio.
I want to play a beep sound that loop indefinitely.
I found an easy way to do that using the upper layer AVAudioPlayer and the numberOfLoops set to "-1". It works fine.
But now I want to play this audio and be able to change the rate / speed. It may works like the sound played b...
How would you know if a row from UITableView has been move via drag? Is there an event to catch?
...
Hi,
I am totally aware of billions how to and forum discussions out there about this issue. Because I could not find the solution I'm writing here.
Typical situation: I want a co-worker to test my App. I thought on Ad-Hoc distribution. I followed every kind of tutorials. But I receive always a "valid signer" issue in iTunes.
Basicall...
I have a splitview with a pop over master view using UINavigationController. The problem is I have some custom text views in the header of the nav controller and when it switches to the pop-over view the style of the nav bar changes. This makes the colors of the text clash since they are no longer using the correct settings for the new n...
I'm trying to do something like this:
- (void)sectionChanged:(id)sender {
[self.view addSubview:loadingView];
// Something slow
[loadingView removeFromSuperview];
}
where loadingView is a semi-transparent view with a UIActivityIndicatorView. However, it seems like added subview changes don't take effect until the end of t...
Hello everyone,
I created a manifest file with 1000 items. Safari, Mozilla browsers are saving the files offline successfully and even Android saves the files correctly offline.
On iPad and iPhone when I am trying to save more than 300 items in some point the applicationCache returns "error". When I am trying to save less (e.x.: 200) i...
I am passing a byte array from a java server to an iPad client in XML. The server is using xstream to convert the byte array to XML with the EncodedByteArrayConverter, which should convert the array to Base 64. Using xstream, I can decode the xml back to the proper byte array in a java client, but in the iPad client, I'm getting an inv...
I've created a custom view that loads its content from a nib, like this:
/* PricingDataView.h */
#import <UIKit/UIKIt.h>
@interface PricingDataView : UIView {
UIView *contentView;
}
@property (nonatomic, retain) IBOutlet UIView *contentView;
@end
/* PricingDataView.m */
#import "PricingDataView.h"
@implementation PricingDataView
...
I'm not sure what changed on my ad hocs but I get this error when trying to install:
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
Device debug builds fine. The cert that is associated with my ad hoc provisioning profile doesn't expire until 2011...
I've a UIButton on my table cell that pops up (touchUpInside) a UIAlertView and asks the user if they want to delete the file associated with that cell. Otherwise, a touch on the cell itself highlights the cell then moves to the next level to reveal content. The issue is that when the cell is selected and highlighted, the button highli...
Is there a simple way to package a plist object (NSDictionary, NSArray, etc.) and Post it to a web service?
...
I am trying to have a button move around the screen and still be clickable. I have it moving around the screen correctly, but the odd thing is that I can't click the button until the final second of the animation. The button is still moving and yet after a certain threshold I can click it. Any idea what is happening? Any idea for some ot...
Hi Guys,
I'm trying to learn OpenGL ES quickly (I know, I know, but these are the pressures that have been thrusted upon me) and I have been read around a fair bit, which lots of success at rendering basic models, some basic lighting and 'some' texturing success too.
But this is CONSTANTLY the point at which all OpenGL ES tutorials end...
Hello,
I have been solving a lot of memory leaks but have been unsuccessful in solving this one. There are tons of NSCF memory leaks coming due to [NSCFString substringWithRange:]. I have been checking all the String allocations and have released all of them at appropriate places. The responsible library: Foundation.
Has anyone encoun...
Hi,
I am having a hell of a time trying to do what should be something simple.
I have created a Tab Bar Application. How do I change the view SomeView.xib ?
All the examples I see are from View To View, Tab to Nav.
Any suggestions ?
...
I am using the iPhone SDK 3.X to develop my application. But I want to get ready to 4.X. But there is some iPhone 4.X codes/API that can't not use in 3.X. So, how can I develop the same application for both 3.X and 4.X? Instead of making two copy of my application, can I have one source code to do support current 3.X and future 4.x? than...
I need to create a UIToolbar object that uses an image for the background. Most of the buttons are images as well, and rectangular. One button, however, is round and overlaps the toolbar like the Start button on the Windows task bar. See below.
I know that I will need to subclass the UIToolbar to paint the image for the toolbar -- I thi...
All of the collection classes have two versions - mutable and immutable, such as NSArray and NSMutableArray. Is the distinction merely to promote careful programming by providing a const collection or is there some performance hit when using a mutable object as opposed to immutable?
Similarly each of the collection classes has a method ...
hi,
i recently got three20 integrated into my app and am trying to override the default toolbar color in TTWebController.
In TTWebController.m:118 I see that this is setting the toolbar's tintColor:
_toolbar.tintColor = TTSTYLEVAR(toolbarTintColor);
So I created my own stylesheet that subclasses TTDefaultStyleSheet and overrides too...
I have a navigation driven app. I need that app to rotate. The UINavigationController is the root controller/view in the window. I know (and have experienced why) it is a no-no to subclass UINavigationController. I know all i have to do is insert:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientatio...