Hello Everybody,
i'm using the UIAddressBook interface to create a new Contact in my App. The problem is, that if the iPhone / Touch / Simulator is in German the UI is Englisch,
has someone an idea?
Greetings Fil
...
I was experimenting with the magnetometer (iPhone 3GS) and the Teslameter sample program. One question pops up, and that is if it is possible through some API to query the values of the magnetometer without going through the event-driven API.
More specifically, the sample rate from the magnetometer seems to be limited to ~20-30 samples/...
I need to format text in a label like this:
username: some text from this user. This will
create additional lines of text that will go
on and on and on.
Where "username" is bold. This will go into a UILabel, which is in a custom table cell. Is there a way to get this type of layout?
...
I have a navigation controller, which has the following structure:
Category
Item
Item Detail
I can choose a category, and then choose an item to see its details. I can do this twice, i.e. go Back to the list of items and select another item. If i try this a third time, the app crashes, I get objc_msgSend in stack but thats...
I have added a CalloutAccessoryView to my Pin Callout, and when i tap it, although my detail view is created, and the pushViewController:animated method is called, the view does not appear, and stays on the map view.
My rootController is a UITabBarController, and i have a reference to my navigation controller in the app delegate, so cal...
When you use iTunes to sync your videos with the iPhone the videos are always saved with no more than 640 pixels wide, if I am not wrong.
What about the iPad? What is the size of videos iTunes syncs with iPad? 1024x768? and what if the video has a dimension below 1024x768? Will it scale up? or will it keep the video at low res and scale...
Hi all,
I want to set position of keyboard when it appears. Can i set this using any API?
I didn't want to use private API for that. Actually I want to display tab bar which is place d at bottom of screen.When keyboard appears then it hide the tab bar.So i want to set keyboard position at top of tab bar.
Thanks in Advance.
...
Here is the code:
-(IBAction)signUpBtnPressed:(id)sender
{
UIAlertView *alert = [
[UIAlertView alloc]
initWithTitle:@"k"
message:@"Thanks for Signing up!"
delegate:nil
cancelButtonTitle:@"Continue..."
otherButtonTitles:nil
];
[alert show];
[alert release];
}
I also have my S...
Hi,
I have a custom table cell in an iPhone 3.x app to show basketball player data, including a picture. Here's my code from the table controller:
UIImageView *theImage = (UIImageView *) [cell viewWithTag:0];
theImage.image = [manager getSmallImageForPlayer: data.number];
theImage.frame = CGRectMake(14, 0, 30, 44);
theImage....
I'm triying to compile my iPhone app from ssh. This is for my build tool that run in another machine.
The base sdk is iPhone Device 3.0.
The error is : "Couldn't load plug-in 'com.apple.Xcode.iPhoneSupport'"
However, executing from the regular terminal run ok. Also directly from xcode.
This is the log:
[trtrrtrtr@mac-pro-de-trtrr-tr...
Working with iPhone SDK 3.2 --
I have a complex custom UIControl that handles touches on the child controls. In certain cases, I want the parent UIControl to pass an event to the UIViewController, which will then take action outside the control. How do I do this cleanly? Thank you!
...
I want to attach a video and send email from my application.
I downloaded apples example code MailComposer. I compiled it. I did not get any errors or warnings.
I sent the mail to my mail id. But, I could not see any mail in my inbox. I am working on simulator.
I did not set any senders email id in simulator.
How can I know whether ...
Looking through a Window based application ive used to experiment with as a way of getting my head around core data, ive noticed that the appdelegate has the following code
myAppDelegate.h
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
@interface myAppDelegate : NSObject <UIApplicationDelegate> {
NSManagedObjectModel *managed...
I have stored the videos in the documents folder. the path is
/Users/sridhar/Library/Application Support/iPhone Simulator/User/Applications/EC177E77-8665-485C-93DE-62350FA6D0E7/Documents/air.mp4
I want to delete the video . How can I do it programmatically.
...
-(IBAction)buttonPressed1:(id)sender
{
SignView *tempVC = [[SignView alloc] initWithNibName:@"SignView" bundle:Nil];
[UIView beginAnimations:nil context:nil];
[UIView setAnimationTransition: UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[UIView setAnimationDelay:0.0f];
[UIView setAnimationDuration:0.2f];
[self presentMod...
When developing iPhone apps with Xcode 3.2.1/Objective C, which unit test tools are recommended?
I am new to the iPhone OS platform, and I am interested in your best practices.
...
hi,
I am new to iphone programming. I was browsing through different apps at iTunes. Found this excellent menu. Can you folks help me to understand what is to be done technically to achieve this menu.
The user can slide this menu from left to right or vice versa without disturbing the view in the bottom. how to achieve this ? Thanks in...
I have an NSMutableArray of UIImageViews that have been added as subviews of a particular view.
When I replace a view like this:
UIImageView *tempview = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]];
tempview.frame = CGRectMake(0, 0, 667, 920);
[drawViewController.drawImage replaceObjectAtIndex:0 withObject...
Hi, i used some Quartz 2D examples to extract text from PDF with the callbacks
CGPDFOperatorTableSetCallback(table, "TJ", arrayCallback);
CGPDFOperatorTableSetCallback(table, "Tj", stringCallback);
referencing the code from here: http://stackoverflow.com/questions/2362393/reading-pdf-files-as-string-through-iphone-application...
I have a UIViewController *view1 and another UIViewController *view2; I used presentModelViewController to navigate from view1 to view2.
-(void)function:(id)sender
{
NSLog(@"The libraryFunction entered");
LibraryController *libraryController = [[LibraryController alloc]init];
[self presentModalViewController:libraryController anim...