I'm having an issue with the label inside of my UITableViewCell blocking the background image. It seems as though it only happens on the unselected state. I tried setting the background colors to clear but that didn't do it. It's adopting the tableview's background color. Do I have to set the labels background image too?
// Neither of ...
Y/N: Is it possible to set one cell inside of a uitableview that has multiple cells to have a dynamic height that changes depending on the value of text it holds?
...
hi everyone,
i have a requirement where i am fetching 20 items and putting it on a tableview and i want to fetch another 20 when user scroll to maximum row of the current view. is there anyway i can do that
...
In my application, i want the users to reorder the contents of the differnt rows as well as to delete the rows they wish to. How to implement that
...
I am writing an iphone app. I use a UITableView and assign a my UIView derived class to the tableHeaderView property. When I build with SDK 3.1 the header displays properly. When I build with 3.0 the header is never painted. DrawRect is not called.
Is this a known SDK bug, or am I doing something wrong? The only thing that changes ...
Hi, i'm trying to get a UIActivityIndicatorView to "appear and animate" when a user scrolls to the bottom of a UITableView….
Upon reaching the bottom of the table view, a web-request is made that will take a few seconds to complete and then the UIActivityIndicatorView should "stop and hide"
I'm triggering the appearance of the UIActivi...
I have an array of dictionaries with each dictionary holding keys that store information about local places (name, address, vibe, facilities, etc.) . I have a tableview that is sorted according to the name, but I can't seem to get the detail view to view correctly. Here is a sample of the code I am trying to do to display the address inf...
I am trying to place a "Dismiss" or "Done" button in the top right corner in a navigation control for a ModalView that closes the view. Using a normal UIView, I am able to do this. However, when I try to use a UITableView for my ModalView, I am no longer able to set the BarButton's target to a parent controller.
The "dismissModalContro...
Hey everyone, I was just wondering if anyone knows how to create a UITableviewCell swipe effect akin to the one in the Tweetie 2.0 app (see video: Tweetie 2.0) or in the Facebook 3.0 app (when pressing the blue "+" next to a status).
What I need to do is to have the cell slide away in response to you swiping it and reveal a background ...
Hi Guys,
I am having some form in that is consisting of 5 custom cells in a table view. Here is the code:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return 1;}
\- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return 5;
}
\- (UITableViewCell *)tableView:(U...
I want to display in a UItableViewCell, text like
line1
line2
I get it from an xml tag like line1 line2
I've tried a lot of things, like:
<br/> (also <br>),
\n which only displays "line1 \n line2",
<![CDATA[<br >]]> which only displays "line1 <br> line2".
Thanks for the help
...
This is Portrait:
This is Landscape
I've tried this on rotation with no success:
self.tableView.autoresizesSubviews = YES;
self.tableView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
...
I've got some rather complicated rules for moving rows around in a UITableView. There are an undefined number of sections and rows per section, and based on various rules, rows can be moved within or between sections by the user to specific other locations.
All of the data updating and everything is working. But occasionally, after mo...
Hi Guys,
I am having very annoying issue. I have one form page with 5 custom cells. Each of them has one text field. On the bottom I have one button. In an onclick button function I am gathering values from each of the 5 described text fields.
My problem is that if my keyboard is up, I will get the values of not all but just visible tex...
I'm trying to figure out how to replicate the UITableViewCellStyleValue2 style so that the detail text can be multiple lines - as seen in the 'address' cells in the Contacts app. Like the Contacts app, some of the fields (like street name) are optional; so it would show say 3 lines instead of 4, if the street was not nil.
I'm I missing...
I've been googling around to try to figure out what sort of event handles are called when one row (or cell) in a UITableView is tapped, but haven't been able to figure it out. I'm trying to change the image property of the cell when it's tapped.
Thanks.
...
In all of my UITableView programming, I've always configured my UITableViewCells in -[UITableViewDataSource tableView:cellForRowAtIndexPath:]. Now I've come across the -[UITableViewDelegate willDisplayCell:forRowAtIndexPath:] method. That also seems like an appropriate place to do cell configuration.
My question is: what's the appropria...
I'm implementing a UITableView where the number of rows for a given section is limited to 4. For that matter, if the number of rows is less than 4, I add a row that is used as a placeholder for the next item to add (this is similar to the "Contacts" app).
I have a problem when I reach the maximum number of rows for the section. If I t...
I've only seen it in a VERY few iPhone apps... but it looks like a picker that rotates left/right (instead of top/bottom).
They usually put it on 1 line of a tableView... to allow the user to quickly pick between a small number of choices (like 3-10).
How is that coded?
...
I am building an RSS reader with a GUI very similar to the built-in mail app. It uses Core Data to store the information once it is downloaded. When a story is downloaded, it has a blue dot to indicate it is new. Once I go back to the main page after reading a story the dot should be gone. It stays there until I scroll or relaunch the ap...