I have one issue with UInavigationcontroller
In my firstview i have button.If i click that button it should open tableview in secondview .If i click tableviewcell is connect to third view.it is second and thirdview used to the navigationbar
Please help in this issue.
...
If I declare a variable within a block (see below) is there a way to specify that its visible outside the block if need be?
if(turbine_RPM > 0) {
int intResult = [sensorNumber:1];
NSNumber *result = [NSNumber numberWithInt:intResult];
}
return result;
or is the way just to declare outside the block scope?
NSNumber *result = n...
I've been trying to to consume SOAP requests (.NET web services) and have found some pretty good tools that I wanted to share:
1) http://grabalife.com/2009/10/19/using-net-web-services-and-dataset-objects-in-your-iphone-app/
Really easy clean way to perform all the call needed for consuming the services.
2) http://code.google.com/p/m...
how to set backgroundcolor of UIViewController in iphone ?
...
Hi,
I tried to add buttons, textboxes and text to tableview. I want the row height to get adjusted automatically according to the height of each ui component. How can i achieve this ?
...
Hello All...
I am on the edge of submitting my first iPhone Application.
So, now I have little confusion in the submitting process..
My application is only for iPhone and ipod touch users only, not for the ipad (yet). So, i don't know where I need to specify this option while submitting app to the apple. If anybody can help me then it...
Hello everyone
I am using UIWebView to load a web page.
There are 3 questions:
1.It it possible to track the percentage progress when UIWebView is loading the page?
2.I noticed that when Safari loading a web page, the URL textfield displays a blue background progress indicator to tell user the percentage of loading a web page. What i...
HELLO i am trying to insert Current date in my database table
i have a column dateVisited of type datetime
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
[formatter setDateFormat:@"yyyy/MM/dd HH:mm:ss"]; //this is the sqlite's format
NSDate *stringTime = [NSDate date];
NSString *formattedDateStringTime = [formatter string...
Hi,
How to change the UITextField to oval shape ?
link shows a screenshot of that
...
Hi , iam trying play animation with xcode,in specefic Time for example after 3 minutes play an animation .. i don't know how coding with NSTimer !
here is my animation codes :
NSArray *myImages = [NSArray arrayWithObjects:
[UIImage imageNamed:@"myImage1.png"],
[UIImage imageNamed:@"myImage2.png"],
[UIImage imageName...
Hi,
I am building an app that plays multiple video files, But I would like to know How do you download a video file (100mb - 300mb) from a server into the application's documents so it can later be locally referred to in code? The reason I want this type of a set up in my app is that I don't want the app binary to be made unnecessarily l...
I am working on a view that selects an image (chart) based on user input through a dependent picker which uses a plist file that contains three arrays containing about 40 strings each.
About 50% of the time when I run the app, it just shuts down immediately, but the other times that it does run, it will work fine until I start scrollin...
I am trying to test my application with in app purchases. I created features, test user, logged out from iTunes on the iPhone and used developer certificate. Load app from XCode in debug mode.
When I click "Buy" button I pass all checks for internet availability, canMakePayments and call
SKPayment *payment = [SKPayment payment...
I am clearly missing something obvious here and would really appreciate some input. I have tried repeatedly to submit an application to Apple (iPad in this case) that is crashing on their end when testing but I cannot replicated the situation on my end (obviously I only have the damned simulator to work with at this point).
The crash l...
How can I wait for the contact to be chosen in my address book, before going on?
Hereunder the code I use
BPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init];
picker.peoplePickerDelegate = self;
[self presentModalViewController:picker animated:YES];
//following code
Right now it just procee...
hi there, im very new to iphone programming, im creating my first app, (a world cup one)
the first view is a table view. the cell text label is filled with an array, so it shows all the groups (group a, B, c,ect) then when you select a group, it pulls on another UITableViewcontroller, but whatever i do i cant set the text label of the c...
Hi, i am building a app in which if a UIImageView hits another something happens, i am using the CGRectIntersetsRect statement, i would like to make it as accurate as i can, at the moment i have about 8 UIImageViews inside this one UIImageView and i am detecting if something hits them 8 little views, i have decided that this is not a ver...
I have a UITextView and a WebView side by side and I would like to add a drop shadow to both. This is an iPad app, so they rotate, thus an ImageView under them probably would not work. Any ideas?
...
Hi.
I have a pretty big issue. I am trying to create a favorite-button on every UITableViewCell in a UITableView. That works very good, and I currently have an action and selector performed when pressed.
accessory = [UIButton buttonWithType:UIButtonTypeCustom];
[accessory setImage:[UIImage imageNamed:@"star.png"] forState:UIControlStat...
I'm trying to place a branding bar (320x22) above the UINavigationBar in a UINavigationController.
Has anyone been successful in doing so? I know many applications already do it, but I wanted to get some ideas on how to accomplish this.
I tried:
Creating a UINavigationBar category and overriding the drawRect method.
Placing the UINav...