iphone

mpmovieplayercontroller keep download after stop (iphone)

Hi, when i stop the movie and the mpmovieplayercontroller is disappear, i see in my router that the movie is continue downloading, can it be? is it normal? ...

becomeFirstResponder on UITextView not working

For some reason, I'm having trouble with making a textfield the first responder. I have a UITableView with two rows. Each row has a label and a UITextField. The textfields are tagged kLoginRowIndex = 0 and kPasswordRowIndex = 1. As you might have guessed, I use this for setting login and password. If the user taps on the return button ...

Copy Localizable.Strings from one project to another

I need to copy the Localizable.Strings files/folders from one Xcode project to another. I'm having difficulty seeing how to do it. I'd prefer not to have to re-create and then copy the content, but at the moment I can't find another way. Importing the folders with Add Existing or Drag and Drop from two Xcode windows doesn't seem to do it...

Is there a good explanation about how iPhone OS works?

I'd like to read more about how the iPhone OS actually works. I know for example there is an application sandbox, and some globally interchanged folgers where all apps have access to, like address book. I'd like to know more about how the components of iPhone OS fit together, what's there, etc. maybe someone has a good link that summariz...

Best way to sort NSMutableArray ?

I have an iPhone application that needs to sort a couple of NSMutableArrays, this arrays contain around 3000 elements. The idea is to sort them once when the application starts, then every iteration I need to insert 9 elements to each of those arrays. Is there an efficient way with NSMutableArrays, to insert those 9 elements in a sorted...

nil from Camera _createPreviewImage in iPhone SDK

I am trying to apply Mike Chen's answer here, using SDK 3.0. In delegate.m file I implement; [viewController.view addSubview:[[objc_getClass("PLCameraController") sharedInstance] previewView]]; and in viewcontroller.m I implement: CapturedImage = [[objc_getClass("PLCameraController") sharedInstance] _createPreviewImage]; but Captur...

SQLite Out of Memory when preparing insert statement

I have a problem with my app it opens this database and selects rows from it ok, Then when I want to add new rows using the following code and I always get the following problem at the execution of the prepare_V2. *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error while creating add statem...

When installing app from the Xcode for debug purpose it's run over another app in the device

Hi, When i'm installing an app from Xcode for debug purpose on the device it's run over another app that I developed in the device (that been download from the appStore). also it's happen vice versa, any ideas??? thanks. ...

application development for iPhone Appstore

what does the domainname and application name in the APP ID generally means. Can the iPhone unlocked one can be used for the iPhone Appstore application development and testing . Can the iPhone jailBroken one can be used for the iPhone Appstore application development and testing . As the process to test the application includes submiss...

How to include a third option for a drill down table view?

Hey guys, I'll try this again. I need help in getting a third option working using a drill down table view. As it sits right now, the application shows all three in the table when the application runs, but when clicked on the second or third, it will only show the view for the third. I read some tutorials on .plist but I wanted to know ...

Max Disk Space an iPhone App Can Use

I have searched here and found the assertion that "no single application may occupy more than 2GB of hard disk space." Not to question that statement, it seems a reasonable policy, but can anyone provide a reference to that policy in the Apple Docs. I would appreciate it greatly. ...

Xcode cannnot find my plist file when building

I'm trying to build my app and every time I do I get this error: error: The file "Wallpapers-Info.plist" does not exist. Anyone know what causes this error? I have the wallpaper-info.plist file in my resources directory. G-Man ...

Multiple UIViews, dealloc and retain

I have a small application for displaying several UIImageViews in a UIScroller in a similar fashion to the Photo app. I have a TableView which, when i select an item, parses an XML document of photos (added to an array) and adds a UIViewController which displays the images. The problem is I have a tab bar controller which, upon clickin...

Change UIImagePickerController Delegate

I access the camera via UIImagePickerController, and when I set the delegate to self, I can use the delegate methods. However, for what I have planned I need to have the delegate methods in another class, but whenever I try to do that, it will dismiss the the picker whenever I take a picture. When I do this, it works: preview.delegate...

Would the code described in http://tinyurl.com/yd2ar3q work for itunes' purchased AAC format?

I'm making an iphone app that needs to adjust audio speed, and in the question here , it decompresses audio, so I'm concerned with it working for Itunes' Encoded/Purchased AAC Audio format. Will it work? ...

iPhone/iPodTouch. What are my options for syncing movement to a soundtrack?

What are the best strategies for syncing music to object movement? The app I envision would have an underlying soundtrack with characters animating in time to the music. What I'm after is a strategy for having the soundtrack periodic send a message to an object, objects, triggering it to commence it's scripted movement. Thanks, Doug ...

Playing built in sounds on the iPhone

I have an app that has a fake SMS screen, when this is displayed I want to play one of the SMS sounds that are on the phone. How do I do this? ...

NSURL Authentication when server does not present a challenge

I am in a situation where I need to send authentication (basic HTTP Authentication) to a server but the server does not send me a challenge first. This has been tracked down to be a duplicate of the wget switch --auth-no-challenge. My problem is, I do not see any way to get NSURL to do this. I have implemented basic authentication in ...

Design suggestions for an iPhone app for photo commenting.

Hi all, I am trying to create a iPhone app that allows the users to upload a image and allows other users in the same group to share their views on that image. I have successfully implemented the upload and download of the images using a .NET web service(xml parsing of the NSData obtained from NSRequest) . The next step is to create us...

Inconsistent tag value in UIView

Hi, In my app I created and tiled programmatically lots of UIImageView and set its tag from 1 - N, int i; int x=0,y=0; for(i=0;i<MAX_VALUE;i++) { UIImageView *img = [[UIImageView alloc] initWithImage:[UIImage imageNamed:IMAGE_NAME]]; img.tag = i+1; img.frame = CGRectMake(x,y,IMAGE_W,IMAGE_H); [self.view addSubview:img]; ...