Hi, Noob at the most.
I just filled my UITableView with Planets. I would like each cell clicked to open into a new Xib (if this sounds like the wrong approach please direct). I can get a secondviewcontroller working, its getting the thirdviewcontroller and fourthviewcontroller working? Thanks.
...
Hi, guys!
I'm trying to implement UINavigationBar with custom controls. So, I've added UIView on left side of UINavigationBar and trying to add controls to that UIView with following code:
UIView *view = navigationController.navigationItem.leftBarButtonItem.customView;
UIButton *button = [[UIButton alloc] initWithFrame:view.frame];
[bu...
Using the following code I am getting the text.label but not the detailTextLabel.text. The NSLog is displaying correctly.
cell.textLabel.text = [eventLabels objectAtIndex:indexPath.row];
cell.detailTextLabel.text = [eventFields objectAtIndex:indexPath.row]];
NSLog(@"%@", [eventFields objectAtIndex:indexPath.row]);
I also tried....
Hey,
I want to add a bar right below NavigationController which will visible all the time even as user scrolls down. Can you tell me how I can do that or refer me to an article? I want to add couple of buttons to it to sort out results.
Thanks
...
I'm writing a class that extends a UIScrollView to display a large tiled image, and I've realized that the TiledScrollView from Apple's ScrollViewSuite sample code does the same thing very well. Can I use their code, or do I have to write my own, even if it ends up heavily inspired by Apple's code?
If it makes a difference, I don't have...
Can someone a good way to save the program state (UINavigationController stack, etc) of an iPhone application.
My application obtains a bunch of information from the network and I want to return the person back to the last screen they were on, even if it was 3 or 4 screens deep.
I assume that I will need to reload the data from the ne...
I am having trouble animating a custom UITableView section header.
The goal was to create collapsable sections.
When I tap on the custom header the first time it animates as expected, however every time after that it leaves a duplicate in the original location and animates another.
Image Example:
My Custom Header:
- (UIVi...
Hi guys.
I am trying make long screen to vertical direction.
So, I need a screen that has vertical scroll.
How to make it ?
Please advice.
...
I have a UIWebview that is loaded as a subview when a user selects a tab on a UISegmentedControl. For some reason, I can not get it to allow pinch/zooming.
I set the following code in the viewDidLoad method, so it should work.
self.myWebView = [[[UIWebView alloc] initWithFrame:self.view.frame] autorelease];
self.myWebView.backgroundColo...
Hi,
I've recently downloaded the GLPaint sample code and looked at a very interesting part in it. There is a recordedPaths NSMutableArray that has points in it that are then read and drawn by GLPaint.
It's declared here:
NSMutableArray *recordedPaths;
recordedPaths = [NSMutableArray arrayWithContentsOfFile:[[NSBundle mainBundle] p...
Hello everyone,
How would I check in a "if" statement if the NSUserDefault object is saved there or not? I'm not really sure how to call it.. So a pretty short question..
Thanks
...
Hey Guys,
I am looking to load results from the server for UITableView while I have that implemented, I want to enable paging for those results.
Does anyone know any article that will explain me this or can someone explain here?
Thanks
...
Hi,
I'm an iPhone developer. I'm writing my unit test cases, one of which checks if the app accepts UTF8 strings to be written to a sqlite3 database. I created a test case to generate random UTF8 strings and I can see the ones that fail do so because they contain an apostrophe (') which I need to be accepted.
I'm writing to the databa...
Hi all,
In the simulator, I don't have this problem but when I run the app on my device applicationDidBecomeActive and applicationWillTerminate aren't called. Is it because I'm jailbroken and running backgrounder etc? Here's the gdb log from Xcode:
[Session started at 2010-02-28 15:37:00 +0900.]
GNU gdb 6.3.50-20050815 (Apple vers...
Hi Guys,
I am having a UITabBarController set up with many views, In one of the views , i have a UIbUTTON. On clicking this button or on a rotate , I wanted a landscape modal view controller having a tableViewController to popup.
Inside the modalviewController , on rotating to portait mode , it shud return back to the original orienta...
Hi all,
I need to call a method I have defined as:
-(IBAction)next:(id)sender{
...
}
I want to call it in -[UIViewController viewDidload]
How can I call this method programmatically?
...
hello guys,
after I install xcode 3.1.2,when I add existing frameworks, I can not find storekit.framework.
however in xcode 3.0.1, I did not find the problem.
what is wrong?
Thanks for your help.
...
How can I create a iPhone screenshot? When I open Xcode I go to Window>Organizer but there is no Devices tab visible. I have a jail-braken phone with OS 3.1.2.
...
Hello,
I have an application composed of a main view and a secondary view which is used to define parameters used by the first view. Both views have their own .xib . In order to simplify the management of the application, I Would like to have the same controller (same class ans same instance) for both views.
How can achieve this?
Tha...
I want to control the playback speed of audio in AVAudioplayer. Is this possible? If so, how would you do it?
...