I have an iPhone app that works fine in 2.x version of the SDK. When I upgraded to 3.0, the didSelectRowAtIndexPath method is no longer called, so the action when a user highlights a row doesn't happen. This is a custom UITableViewCell that is in a separate nib from the UITableView. Both the data source and data delegate are properly ...
I am still in the process of getting myself acquainted with the iPhone SDK.
This is what I am trying to do :
I have a UIScrollView and each scroll view has an UITableView and I have implemented a custom UITableViewCell.
The desired functionality is initially there is no selection, then the user selects the row and scrolls and makes a...
When I tap the first cell in my tableview "didSelectRowAtIndexPath" is not triggered... Has anyone seem this and/or have any clue as to why this happens? All the other cells in my table work just fine and I put a breakpoint in my code in "didSelectRowAtIndexPath" the app does not go into that code if the first cell is tapped but will g...
I have a UINavigationController and I have seperate UIViews that I switch between using a UISegmentControl. On switching the views, I add the view as a subview to my navigation controller's view:
[self.view addSubview:segmentTab1.view];
and
[self.view addSubview:segmentTab2.view];
Then, in the subViews, each has a UITableView, but ...
Hello,
I'm implementing the didSelectRowAtIndexPath: method in a tableviecontroller implementation. I get a "conflicting type" warning in my code. Everything seems to work, but the warning bugs me. The code in my implementation file is as follows.
- (void *)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath*)ind...
Hi All,
My problem is in getting the information from a controller(which happens to be my rootViewController) to another view. In trying to get access to it through the app delegate, I was not able to get it working. I have found how to do this, but this inturn created another problem of getting the view inside a modal view controller t...
I want to change the textLabel and detailTextLabel of a cell when it has been selected.
I've tried the following, but no change occurs:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
MyAppDelegate *appDelegate = (MyPhoneAppDelegate*)[[UIApplication sharedApplication] delegate];
UIT...
Hey everyone. I am trying to incorporate a simple UINavigationController into my tab bar application. I have the TabBar set as the root controller and all seems to work fine. This method is called correctly and does not break yet it does not change to my detail view. I am completely lost on this one.
I followed instructions from this v...
On my never ending quest to share a table row selection to multiple views loaded in a modal view, I have got it down to one issue. I am using Apples DrillDownSave sample code as a model to recreate this magic. And think I have it all set up exactly the same...
In the didSelectRowAtIndexPath section of my RootViewController.m, I have the...
I am writing a "tweetie 2" like swipe functionality, but have run into what I hope is the last stumbling block.
When a user swipes across a table row the "controls" view animates as expected, but when the row is selectd, didSelectRowAtIndexPath is fired off. The desired result is for when the "controls" view is visible to disable the d...
I'm having an issue with UITableView's didSelectRowAtIndexPath.
My table is setup so that when I select row it initializes a new view controller and pushes it.
The first time I tap any row in the table, the method does not get called. Once I select another row, it begins to work as normal.
I have verified this by setting a breakpoint ...
Hi,
I have a very strange problem with my UITableViews. When the tableView contains more than ten rows and when I select a row, another row's content of the table view is displayed above the row I selected.
It is the same for every tableView. Did someone experiment this issue ?
Thanks for any idea.
...
Is there any way of changing the UITableViewCellAccessory in the didSelectRowAtIndexPath function?
I need to change a "play"-icon to a "stop"-icon..
Thanks :)
...
Code:
[self.menuList addObject:[NSDictionary dictionaryWithObjectsAndKeys:
NSLocalizedString(@"PropertySubtype2fTitle", @""),
kTitleKey,
publishNoOfRoomsViewController,
kViewContro...
Hi, I have a Tableview on AppDelegate That calls a SecondView (dvController) when DidSelectRowAtIndexPath using:
[self.window addSubview:[dvController view]];
On SecondView I defined a button linked to IBAction that should go back to previous view. It works great but when row selected but, How could then go back to previous view if mai...
Hi all,
It seems when I scroll my table view that if I select a cell while the table view is still scrolling, didSelectRowAtIndexPath doesn't get called. It works fine when the table view is still.
Any ideas on why this might be?
Also, is there a way that didSelectRowAtIndexPath can be called on press down? It seems it gets called aft...
I am trying to recreate the selection behaviour as seen in the built in iPhone Voice Memo App.
That is, in the voice memo list view, when the user selects an item, and there is already another item selected, the touch down doesn't select the cell immediately, but on touch up the previously selected cell is deselected and the new cell is...
Is it possible to determine a row's detailTextLabel based on an indexPath in didSelectRowAtIndexPath?
I want to be able to open a phone link using
[[UIApplication sharedApplication] openURL:xyz]
if the cell has the detail text label "phone".
Is this possible?
Thanks
...
Feel like I'm going a bit nutty here. I have a detail view with a few stand-alone UITextFields, a few UITextFields in UITAbleViewCells, and one single UITableViewCell that will be used to hold notes, if there are any. I only want this cell selectable when I am in edit mode. When I am not in edit mode, I do not want to be able to select i...
Hello All,
Ive been following a tutorial to implement a search bar ( http://www.iphonesdkarticles.com/2009/01/uitableview-searching-table-view.html ) However I cant seem to push different views. Here is what my didsSelectRowAtIndexPath looks like.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexP...