I think the title is pretty descriptive:
I perform all 3 of these operations on a view, the result is 20 pixels of white space along the left side of the screen (if holding the iPhone is landscapeLeft).
I tried to fix it by performing a CGAffineTransFormTranslate(transform, -20, 0)
That just "slides" the view underneath the whitespace...
I know this might off subject but what's a good program let's me view what a website might look like on a iPhone or other mobile device which connects to the Internet. Dreamweaver cs3 might have this but I can't find it anyone know?
...
I have a UITableView with reorderable rows and I'm using the standard UITableViewCell.text property to display text. When I tap Edit, move a row, tap Done, then tap the row, the built-in UILabel turns completely white (text and background) and opaque, and the blue shade to the cell doesn't show behind it. What gives? Is there somethin...
In my game if I play a particular game for several times, my touches need more time to be detected.
It stores all touches and then applies those touches all at the same time.
Can anybody tell me what's the problem?
In touchesBegan I wrote:
if (CGRectContainsPoint([tapView frame], [touch locationInView:self])
&& tapView.alpha == 1)...
hi
im trying to create a game in which few objects(UIImageViews) traverse the screen...
these objects are generated at an interval of 1 to 0.45 seconds...when they r generating in the range of 1-0.60 seconds they traverse smoothly..but when they generate at a rate less than 0.6 seconds their movement is not smooth they start jerking..als...
Hi,
I'm trying to use a function that has the following signature to sign a HTTP request:
extern void hmac_sha1(const unsigned char *inText, int inTextLength, unsigned char* inKey, const unsigned int inKeyLength, unsigned char *outDigest);
And this is the method I wrote to use it:
- (NSString *)sign: (NSString *)stringToSign {
NSStr...
I am using the UIImagePickerController in order to let the user select an image in my app by either taking a new pic or selecting an image from the gallery. Using gallery, the app works fine. But if I use the camera as a source, the app uses up a lot of memory and eventually gets killed after becoming terribly slow.
Can someone please t...
I've created a new navigation based iPhone app. I added this to the RootViewController.
- (void)viewDidLoad {
[super viewDidLoad];
UIBarButtonItem *addButton = [[UIBarButtonItem alloc] init];
self.navigationItem.leftBarButtonItem = addButton;
self.navigationItem.leftBarButtonItem.enabled = YES;
}
No left button displays howev...
I've been trying to adjust the font size for a UITextField that's embedded in a contentView of a UITableViewCell. I'm using cmd+T to bring up the font menu, and in there am using just the default font Helvetica size 18. Everytime I change the size it doesn't seem to make a difference at all when my UITextField is displayed. It's almost a...
I've already seen this post:
http://stackoverflow.com/questions/360751/can-i-embed-a-custom-font-in-an-iphone-application
which is helpful, but I'd love to simply load the font via:
UIFont* font = [UIFont fontWithName:@"Harrowprint" size:20];
Some people have reported this possible but it's not working for me. Can someone confirm h...
So I understand that there are a few options available as far as parsing straight XML goes: NSXMLParser, TouchXML from TouchCode, etc. That's all fine, and seems to work fine for me.
The real problem here is that there are dozens of small variations in RSS feeds (and Atom feeds too), so supporting all possible permutations of feeds avai...
I'm looking to get the current hour and minute on a user's iPhone for display in an app that doesn't show the status bar. Is there a simple way to do this?
Thanks,
Ben
...
I have a list of short wav files. Two of these files do not play on either the simulator or the device itself. All are wav files 1 second long.
This is how I play the files
SystemSoundID soundID;
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"sound1" ofType:@"wav"];
NSURL *fileUrl = [NSURL fileURLWithPath:filePath];
Aud...
I ask this because I am on the verge of diving into iPhone development and I have been intently following the iPhone related questions here.
This question:
http://stackoverflow.com/questions/566265/retrieving-current-local-time-on-iphone
has a comment which asks "are you creating iphone web app or iphone app" and my question is, is t...
Hi,
I am writing and opengl based iphone app and would like to allow a user to translate around a view based on the direction that they move two fingers on the screen. For one finger I know I could just calculate the vector from the start position to the current position of the users finger and then find the unit vector of this to get j...
Is there a way to speed up animations using something like a blur?
I have a loop which must be travelled through to represent one "increment" in my UI. When the user jumps ahead by several increments at once, I'd like to speed up each of the animation loops.
How can I accomplish this?
...
As a developer who has an iPhone, I am looking for applications that are developer-centric. What iPhone applications do you find useful as a developer?
...
I suppose the title of my question says it all :-)
I think I'm just cloudy on how debugging works on a real device - is that how to go about it? I've been reading through Apple's docs on creating provisioning profiles for distribution, but I'm not finding any information for simply debugging my app, which is running on my device, through...
I have a UIPickerView that gets faded out to 20% alpha when not in use. I want the user to be able to touch the picker and have it fade back in.
I can get it to work if I put a touchesBegan method on the main View, but this only works when the user touches the View. I tried sub-classing UIPickerView and having a touchesBegan in there, b...
Whats the difference between the two?
I'm sure they have pros and cons, and situations they are better performers in.
Any resources that compare the two?
Is one better for animation (I imagine the CATransform3D)? Why?
Also I think I read somewhere that text clarity can be an issue, is one better at scaling text?
...