Fix disclosure icon direction on iOS9

// FREEBIE
pull/1/head
Michael Kirk 7 years ago
parent 44eed98995
commit cb1c843979

@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "DisclosureIndicator@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "DisclosureIndicator@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "DisclosureIndicator@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

@ -70,12 +70,7 @@ class ReminderView: UIView {
label.textColor = UIColor.black.withAlphaComponent(0.9)
// Icon
// TODO proper "push" image rather than this hack.
let sourceIconImage = #imageLiteral(resourceName: "NavBarBack")
let iconImage = UIImage(cgImage:sourceIconImage.cgImage!,
scale: sourceIconImage.scale,
orientation: .upMirrored).withRenderingMode(.alwaysTemplate)
let iconImage = #imageLiteral(resourceName: "system_disclosure_indicator").withRenderingMode(.alwaysTemplate)
let iconView = UIImageView(image: iconImage)
iconView.contentMode = .scaleAspectFit
iconView.tintColor = UIColor.black.withAlphaComponent(0.6)

Loading…
Cancel
Save