Make background of the text transparent

parent ae0bc32e
Pipeline #699 canceled with stages
......@@ -103,7 +103,7 @@
<subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" usesAttributedText="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PB8-0H-gLc">
<rect key="frame" x="0.0" y="0.0" width="382" height="390.5"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<attributedString key="attributedText">
<fragment content="Status Text">
<attributes>
......
......@@ -89,7 +89,7 @@ class ViewController: UIViewController, UITextViewDelegate {
for layoutGuide in layoutGuides { layoutGuide!.isHidden = true }
// TODO: Should we use transparent for this to make the rotations look nicer?
for layoutElement in layoutElements { layoutElement!.backgroundColor = UIColor.white }
for layoutElement in layoutElements { layoutElement!.backgroundColor = UIColor.clear }
}
// Update the status text and badge for the first time.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment