Returns the secondary label of the table cell if one exists. (read-only)
Questions tagged [detailtextlabel]
44 questions
0
votes
1 answer
DetailTextLabel is not display in iOS 8 xcode 6
I making the tutorial on running iPhone 5S, Xcode 6 and iOS 8. I want to display the textDetailLabel in a cell table. Can you help me what's the problem here. I already checked the syntax but it doesn't work
- (UITableViewCell…

huynhtridung
- 43
- 2
- 9
0
votes
2 answers
UITableViewCell's detailTextLabel not use all the available space
As shown in the screenshot. Just wondering how can I ask the detailTextLabel to make use all of the available space, say, the area of the red rect. I tried to set the frame of the detailTextLabel to make the width bigger which just doesn't…

Joe
- 59
- 8
0
votes
1 answer
detail text equivalent to tableData = [NSArray arrayWithObjects: - iOS
I'm wondering how to set a cell's detail text using an NSArray similar to
tableData = [NSArray arrayWithObjects:@"Example", @"Example2", nil];
I'm not sure if it's possible but surely this awesome community could find something :D

Colton Anglin
- 431
- 3
- 9
- 19
0
votes
1 answer
detailtextlabel set to nil
I have UITableViewCell cells with style = UITableViewCellStyleValue1 (this style is used in all other view controllers that I use in my project). I've double checked the cell identifiers in my storyboard as per suggestions from other SO posts. Still…

user2103008
- 414
- 7
- 19
0
votes
1 answer
MonoTouch - changing DetailTextLabel text color is causing a NullReferenceException error
I am trying to finish up a custom cell for my tables using monotouch.dialog, and have nearly everything sorted out, except for my cell's detail text label colour.
I am overriding GetCell to customise my EntryElement cell like this:
public class…

Shogan
- 1,154
- 1
- 10
- 24
0
votes
3 answers
cell.detailTextLabel not working
I want to set up a textLabel and a detailTextLabel for my table. The textLabel is working properly. However, I couldnt get the detailTextLabel to display the text that I have set. Below is my code
- (UITableViewCell *)tableView:(UITableView…

K Hsueh
- 610
- 1
- 10
- 19
0
votes
2 answers
detailTextLabel.text not showing, on iPhone 5 only
I've solved this but it's worth sharing as I couldn't find anything on this.
I had a subclass of UITableView, with a detailTextLabel.text that was not displaying. The detailTextLabel object itself exists as normal, and contains the text, you just…

DenverCoder9
- 3,635
- 3
- 31
- 57
0
votes
1 answer
How To Change UITableView Cell Height Equally & Show detailedTextLabel?
Hi I have this code here.
- (void)viewDidLoad
{
[super viewDidLoad];
jsonURL = [NSURL URLWithString:@"http://oo.mu/json2.php"];
jsonData = [[NSString alloc] initWithContentsOfURL:jsonURL usedEncoding:nil error:nil];
self.jsonArray…

user1446686
- 23
- 5
0
votes
3 answers
UITableView detailTextLabel not working with custom cell
I've created a custom cell which currently is showing an image and text, but not the detail text.
Even with "cell.detailTextLabel.text", it still won't show. Would anybody have an idea what's wrong?
I've tried changing UITableViewCellStyleSubtitle…

mhorgan
- 886
- 2
- 11
- 32
0
votes
3 answers
Set the Detail Text Label in a UITable from an array of strings
I am working with the Master-Detail Application template. I hard coded an NSArray to set the text label:
groups = [[NSArray alloc] initWithObjects:@"Group1", @"Group2", nil];
Then I created two arrays of five words each and put those two arrays…

d.altman
- 355
- 4
- 15
-1
votes
1 answer
Tableview cells do not show the detailTextLabel
Issue getting secondary data to display in my UITableView. I have 3 pieces of data coming back from the API - Name, Address, Telephone. No issues getting "Name" to display, but when I try to display the secondary data (address, telephone) I am…

macdevmike
- 11
- 2
-1
votes
1 answer
French accents on cell.detailTextLabel in UITableView (Objective-C)
I have a problem I can't deal with.
In my application, I get datas from my Web Service in JSON. It's UTF8-encoded and when I fill an UITableView everything is ok (NSLog return accents like : "\u00e9" but my UITableView shows it like : "é").
But when…

Ritooon
- 155
- 12
-1
votes
1 answer
UITableViewCellStyleValue1 detailTextLabel show the wrong way
when i make a detailTextLabel i just want to let it right in the label but it always down the textLabel how i change it just like the UITableViewCellStyleValue1 demo ?

kabi
- 131
- 1
- 1
- 5
-3
votes
1 answer
How to add text from array into an text label in storyboard?
I have a storyboard with two labels in a UITableViewCell.
title and price.
In my ViewController.m I have an array with data(from a url in JSON). I get all I need BUT when I want to add this data into the label, I tried something like…

user3518279
- 1
- 1
- 3