Hello
I keep trying to ask this question but it never seems to go on!
I have made a very simple web browser app using a webview. Now I need to get the app so that when the IPhone is rotated, the text of the page is rotated as well
How do I do this?
I am very confused by the auto resize dialog, so it is possible I have done something...
I've got a problem (in Objective-C/iPhone dev) since more than one week, so I'd be really grateful if someone can help me out.
When I instantiate an object from a class that I've written, it returns me nil, but when I launch the debug mode I actually see in the init method that the attributes of self are correctly initialized and it see...
Hey guys,
I've set up a Button and add it to a view. I want to add a "done" button to the UIKeyboardTypeNumberPad. Here's my code.
UIButton *doneButton = [UIButton buttonWithType:UIButtonTypeCustom];
doneButton.frame = CGRectMake(0, 163, 106, 53);
doneButton.adjustsImageWhenHighlighted = NO;
[doneButton setImage:[UIImage im...
I am trying to copy mutablearray to another but it does not show me anything at the UItableview
NSMutableArray *objectsToAdd= [[NSMutableArray alloc] initWithObjects:@"one",@"two"];
NSMutableArray *myArray = [[NSMutableArray alloc] initWithObjects:objectsToAdd,nil];
NSMutableArray *list = [[NSMutableArray alloc] init];
[self.list add...
I am drawing a set of images on the uiscrollview from a non-ui thread/function. But its only displayed after all the images are done drawing. For drawing all the images, I have written a function and that is what is being called as the non-ui thread. I did write this line inside the function
[self performSelectorOnMainThread:@selector(u...
Hi,
I have a simple UIView used like container.
If I write this code:
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
UIView *hitView = [super hitTest:point withEvent:event];
NSSet *sTouches = [event touchesForView:self];
NSLog(@"Touches %d", [sTouches count] );
return self;
}
Doesn't work! I would...
I have a prebuild web app that I want to submit to the app store but I need a iphone we wrapper in order to submit it. can anyone help?
...
I am new to iphone development .I want to wrap up the text in the label.I want to wrap up to a particular position in the label.Thanks.
...
I'm trying to figure out if its possible for programmers to build an itunes client app for iphone or android where the user has the option to browse and listen to the song preview, something similar to this page: itunes link maker
I greatly appreciate any pointers or links in this direction
thanks
...
Hello!
I have an observer like this:
[mapView.userLocation addObserver:self forKeyPath:@"location" options:0 context:NULL];
So a method is called if an user changes his geolocation.
But I want that the method should also be called every x seconds, because If the user does not move, the location won't change and so the method won't be...
NSArray *array = [[NSArray alloc] initWithObjects:@"ΕΛΤΑ",
@"ΕΛΤΑ COURIER", @"ACS", @"ACS ΕΞΩΤΕΡΙΚΟ",
@"DHL", @"INTERATTICA", @"SPEEDEX",
@"UPS", @"ΓΕΝΙΚΗ ΤΑΧΥΔΡΟΜΙΚΗ", @"ΜΕΤΑΦΟΡΙΚΕΣ ΕΞΩΤΕΡΙΚΟΥ", nil];
This is working because it has nil at the end.
But I add objects l...
How do 'compile for Thumb' and VFP code relate to each other?
on the iPhone 2G/3G, i know that the Thumb instructionset doesn't include floatingpoint calculations (on the 3GS, Thumb2 aparently has..). So what happens, if one compiles for thumb, but uses VFP code for floatingpoint calculations?
i know that's pretty indepth - but probabl...
i want create an app with movie intro just like gameloft games . so when application has lunched , movie plays fine but before the move plays .. my FirstViewController xib file show first then movie start to play ! why ? here is my code :
- (void)applicationDidFinishLaunching:(UIApplication *)application {
NSBundle *bundle = [NSBun...
My app crashes when I scroll the UITableView over the first cell or the last cell!
Why this is happening? I add with addObject:name the objects of the UItableview . This is the code I use at cellForRowAtIndexPath. Help please! I have been trying to figure out what is going wrong hours!
- (UITableViewCell *)tableView:(UITableView *)table...
I have a button which should not be clicked by user, when some processing is going on [shown using UIActivityIndicatorView].
For this when the processing starts i call [[UIApplication sharedapplication] beginIgnoringInteractionEvents];
and when processing ends i call [[UIApplication sharedApplication] endIgnoringInteractionEvents];
If...
Hey,
How do I check whether an object already exists or not?
thank you!
...
I need to check to see if the user has input an alpha key or any symbol other than the decimal (.). I'm putting this inside an if statement, curious if there is an easy place to find this script. Any help would be greatly appreciated.
...
I want my app using the MFMailComposeViewController to send an email such that the recipient can click on the embedded url to open the corresponding web site.
MFMailComposeViewController does not appear to support this explicitly. Any ideas?
...
Hello there!
Im trying to detect orientation changes in a UIImagePickerController (it inherits from UINavigationController : UIViewController : UIResponder : NSObject) and I tried override the method - (BOOL)shouldAutorotateToInterfaceOrientation (UIInterfaceOrientation)interfaceOrientation in UIViewController but no success...
any tip...
I'm calling playSoundFromBundle from the code below to play sounds (aif files). I have a sound that does a single click and then a fading sound. Both sounds are in the same file. Sometimes I get two clicks and then the fade. Meaning, click, click...fade. A single click isn't what should play. I'm guessing the sound starts (click s...