首页 > 试题广场 >

下列哪个不是iOS提供的tableview cell分割线风

[单选题]
下列哪个不是iOS提供的tableview cell分割线风格?
  • UITableViewCellSeparatorStyleNone
  • UITableViewCellSeparatorStyleSingleLine
  • UITableViewCellSeparatorStyleSingleLineShadow
  • UITableViewCellSeparatorStyleSingleLineEtched

typedef NS_ENUM(NSInteger, UITableViewCellStyle) {

    UITableViewCellStyleDefault,    // Simple cell with text label and optional image view (behavior of UITableViewCell in iPhoneOS 2.x)

    UITableViewCellStyleValue1,        // Left aligned label on left and right aligned label on right with blue text (Used in Settings)

    UITableViewCellStyleValue2,        // Right aligned label on left with blue text and left aligned label on right (Used in Phone/Contacts)

    UITableViewCellStyleSubtitle    // Left aligned label on top and left aligned label on bottom with gray text (Used in iPod).

};             // available in iPhone OS 3.0


typedef NS_ENUM(NSInteger, UITableViewCellSeparatorStyle) {

    UITableViewCellSeparatorStyleNone,

    UITableViewCellSeparatorStyleSingleLine,

    UITableViewCellSeparatorStyleSingleLineEtched NS_ENUM_DEPRECATED_IOS(2_0, 11_0, "Use UITableViewCellSeparatorStyleSingleLine for a single line separator.")

} __TVOS_PROHIBITED;


typedef NS_ENUM(NSInteger, UITableViewCellSelectionStyle) {

    UITableViewCellSelectionStyleNone,

    UITableViewCellSelectionStyleBlue,

    UITableViewCellSelectionStyleGray,

    UITableViewCellSelectionStyleDefault NS_ENUM_AVAILABLE_IOS(7_0)

};


typedef NS_ENUM(NSInteger, UITableViewCellFocusStyle) {

    UITableViewCellFocusStyleDefault,

    UITableViewCellFocusStyleCustom

} NS_ENUM_AVAILABLE_IOS(9_0);


typedef NS_ENUM(NSInteger, UITableViewCellEditingStyle) {

    UITableViewCellEditingStyleNone,

    UITableViewCellEditingStyleDelete,

    UITableViewCellEditingStyleInsert

};


typedef NS_ENUM(NSInteger, UITableViewCellAccessoryType) {

    UITableViewCellAccessoryNone,                                                      // don't show any accessory view

    UITableViewCellAccessoryDisclosureIndicator,                                       // regular chevron. doesn't track

    UITableViewCellAccessoryDetailDisclosureButton __TVOS_PROHIBITED,                 // info button w/ chevron. tracks

    UITableViewCellAccessoryCheckmark,                                                 // checkmark. doesn't track

    UITableViewCellAccessoryDetailButton NS_ENUM_AVAILABLE_IOS(7_0)  __TVOS_PROHIBITED // info button. tracks

};

发表于 2019-10-18 23:49:44 回复(0)

UITableViewCellSeparatorStyleNone,

UITableViewCellSeparatorStyleSingleLine,

UITableViewCellSeparatorStyleSingleLineEtched

发表于 2020-07-31 17:29:13 回复(0)
C   UITableViewCellSeparatorStyleSingleLineShadow 
发表于 2019-11-10 15:57:27 回复(0)