• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7


  • Subject: Re: UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7
  • From: Paul Scott <email@hidden>
  • Date: Sun, 06 Oct 2013 18:03:06 -0700

I’m leaning toward a bug, since there are two separate “disclosure” constants for accessoryType; seems you should see one or the other, not both.
   UITableViewCellAccessoryDisclosureIndicator,
   UITableViewCellAccessoryDetailDisclosureButton,
Paul

On Oct 6, 2013, at 5:46 PM, Paul Scott <email@hidden> wrote:

> The following code produces an odd accessory view that shows BOTH an (i) icon and a > disclosure chevron. Why are there two “disclosure” indicators? Is this a bug, or intentional? Or, am I doing something wrong in iOS7? This wasn’t an issue in previous iOS releases, and I didn’t see anything in the transition guide regarding this.
>
>
>
> - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
>
>    UITableViewCell *cell = nil;
>
>    if ( nil == ( cell = [tableView dequeueReusableCellWithIdentifier:@“testCell"] ) )
>        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:@“testCell"];
>
>    cell.selectionStyle = UITableViewCellSelectionStyleNone;
>    cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;
>    cell.textLabel.text = [NSString stringWithFormat:@"Row %d", indexPath.row + 1];
>    cell.detailTextLabel.text = [NSString stringWithFormat:@"Detail for row %d", indexPath.row + 1];
>    return cell;
> }

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7
      • From: Kyle Sluder <email@hidden>
    • Re: UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7
      • From: Paul Scott <email@hidden>
References: 
 >UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7 (From: Paul Scott <email@hidden>)

  • Prev by Date: UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7
  • Next by Date: Re: UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7
  • Previous by thread: UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7
  • Next by thread: Re: UITableViewCell.accessoryType UITableViewCellAccessoryDetailDisclosureButton on iOS7
  • Index(es):
    • Date
    • Thread