iphone

Does Apple Reject applications that use a lot of bandwidth?

I've heard reports that Apple will reject applications that use excessive amounts of bandwidth. The number that I've heard is a maximum of 1MB/minute of bandwidth usage. Although I've seen this number on various boards, I haven't been able to find an explicit statement from Apple's guidelines that speak to this. I'm looking to strea...

UITextField border color

Hello! Could anybody tell me the truth :) I have really great wish to set my own color to UITextField border. But I could find possibility to change the border line style only. Please, i'll wait any answer ...

Does iPhone provide any API for inserting menu selections into e-mail, SMS and Addressbook context menus?

The Blackberry APIs allow one to insert custom menu items (and corresponding event handlers) into their standard email, SMS and Address book context menus. Is there any supported way to do this with iPhone APIs? Thanks. ...

How do i set placeholder char(%)?

In Objective-c ... I want represent placeholder char(%) but my code don't.... NSString *base = @"<style type=\"test/css\">div{width:100\%}</style><body>%@</body>"; NSString *html = [NSString stringWithFormat:base, @"hello world"]; NSLog(@"%@",html); expect : div{width:100%} real : div{width:100} what is wrong? ...

iPhone reachability checking

I've found several examples of code to do what I want (check for reachability), but none of it seems to be exact enough to be of use to me. I can't figure out why this doesn't want to play nice. I have the reachability.h/m in my project, I'm doing #import <SystemConfiguration/SystemConfiguration.h> And I have the framework added. I a...

Does iPhone have a clipboard API?

Does iPhone have a clipboard API? It seems one can call an API function to set text to the pasteboard which will be accessible by other apps., but can someone verify that this is correct? Thanks. ...

problem with uitableview dynamic height adjusting correctly

Hi everyone, I am working on a project that has a uitableview with 3 rows in 1 section. Now, is what I would like to do is to be able to have 1 of those 3 cells be dynamic in height. First off, I don't even know if thats possible. If it is, then I want to do it! I found a very useful tutorial helping me through it, here. I implemented th...

Bitmap compare method on the iPhone (unity3d)

Hi. What would be the best method to compare 2 bitmaps and get the correlation between the 2 (0 being completely different and 1 being exactly the same) in Unity3d on the iPhone? I am using C# since documentation says that using Boo or UnityScript will increase the size of the application. What I need is something similar to the fingerp...

AVAudioPlayer initialization: error code -50

I recently ran into a problem that I couldn't find discussed anywhere on the internet - I was initializing an AVAudioPlayer to play an audio file, and getting the following error: Error Domain=NSOSStatusErrorDomain Code=-50 "Operation could not be completed. (OSStatus error -50.) As it turns out, I had made a mistake creating my NSURL...

Is it normal for memory warnings to disappear?

Hi, I've had lots of problems getting a simple UIImagePicker working (see my other posts), and I've been getting memory warning notifications after taking a picture and before I even get a chance to dismiss the UIImagePicker Now, however... I've loaded up my app in Xcode today and all is working fine. Can't get the memory warning at al...

Y/N: UitableView Question

Y/N: Is it possible to set one cell inside of a uitableview that has multiple cells to have a dynamic height that changes depending on the value of text it holds? ...

Preload sounds played via iPhone AudioServices

I built an iPhone app using AudioServices to play short sounds. The first time a sound is played, there's a delay of half a second or so while the sound loads before it plays. This definitely makes for an awkward user experience. Is there a way to preload sounds for AudioServices to play, or do I need to switch to audioQueues or some ...

Provisioning failure in Application Testing Setup

I'm trying to setup application tests to run on my development device but following the steps outlined in Apple's "Development Guide: Unit Testing Applications" (listed here) doesn't seem to be enough. ( After I set the Base SDK to iPhone Device 3.0 and active target to MyAppTesting (Steps 9 & 10 under Application Testing), trying to B...

iPhone: Multiple View (Screen) Management?

I'm curious what the best method is for managing the traversal through several views without burning screen space using a navigation bar. As an example, assume I have four UIView's with associated UIViewController's: 1: Top level menu (invokes A or B.1) 1.A: Menu selection A (return to 1) 1.B.1: Menu selection B, part 1 (invokes B....

iPhone Dev: technologies being used for 3d games?

I have an idea for a 3d game for the iPhone and I'm wanting to get a feel for what is used mostly for iPhone 3d game programming. Are 3d games being developed in opengl es only or are 3d models being used as well? I'm just trying to get an idea of some of the technologies being used for iPhone 3d game programming. For instance, I thin...

How to get the Latitude and Longitude of RMMarker (Cloudmade iphone API)

How do i get the latitude and longitude of a RMMarker? i can't see any method in the headers. I would be very thankfull fur any help. ...

sqlite Indexing Performance Advice

I have an sqlite database in my iPhone app that I access via the Core Data framework. I'm using NSPredicates to query the database. I am building a search function that needs to search six different varchar fields that contain text. At the moment, it's very slow and I need to improve performance, probably in the sqlite database. Would ...

The antialias of rotated CGImage/CGlayer seems jaggy, UIImageView's is not

I need to mask a "texture" image with a rotated greyscale image. I found out, that I have to do it with CGImages or CGlayers (if there is a simplier way using UIImageViews only, please let me know about it). My problem is simple: The antialias of any rotation-transformed CG stuff is quiet jaggy... ... but the antialias of a r...

How do you make maps in Flash CS4 and then use them in iPhone games?

I was watching a video showing an ngmoco rolando2 level designer. He seemed to be using flash CS4 to make the maps. Would anyone know how I would go about doing this? Just in case you need to know, I am an intermediate programmer, I know both Java and Objective-C pretty well. ...

NSDate - Convert Date to GMT

Hello, I need the ability to convert a NSDate value to a GMT Date. How can I go about converting a NSDate value to a GMT formatted NSDate value, independent of what ever date locale settings the iphone is using. Kind Regards ...