UITableView Appearance SeparatorInsets

DaniSchmidDaniSchmid CHMember ✭✭
edited January 2014 in Xamarin.iOS

Hei there,
since iOS7 UITableView.Appearance supports changing SeparatorInsets:

@property (nonatomic) UIEdgeInsets separatorInset NS_AVAILABLE_IOS(7_0) UI_APPEARANCE_SELECTOR; // allows customization of the frame of cell separators

Why is it missing in MonoTouch? Or is it just me missing the proper way to use it?
i searched for a while but couldnt come up with info about it.

It works directly on the UITableView but not via Appearance API. Its also not mentioned in here: http://iosapi.xamarin.com/?link=T:MonoTouch.UIKit.UITableView+UITableViewAppearance/P

regards

Posts

  • SebastienPouliotSebastienPouliot CAXamarin Team Xamurai

    Why is it missing in MonoTouch?

    It likely did not show up in Apple's iOS7 API diff (which is the best source of what's new for any release) and went unnoticed.

    Or is it just me missing the proper way to use it?

    Here's a way to use any property as a UIAppearance (as long as it's supported by iOS itself).

  • SebastienPouliotSebastienPouliot CAXamarin Team Xamurai

    I verified and it was missing - along with UIAppearance support for SectionIndexBackgroundColor. Both have been added and will be available in future versions.

    Thanks for spotting/reporting the issue.

  • DaniSchmidDaniSchmid CHMember ✭✭

    Thanks for the very helpful Tip and for looking into the matter.!

    cheers

Sign In or Register to comment.