twitter-archive / twitter-kit-ios

Twitter Kit is a native SDK to include Twitter content inside mobile apps.
Apache License 2.0
690 stars 449 forks source link

background of composer get white #81

Closed taichi-jp closed 6 years ago

taichi-jp commented 6 years ago

One line summary of the issue here.

Expected behavior

Background of the composer modal is transparent

As concisely as possible, describe the expected behavior.

Actual behavior

It gets white like this s__24109058

As concisely as possible, describe the observed behavior.

Steps to reproduce the behavior

import Foundation
import TwitterKit

@objc(TwitterModule)
class TwitterModule: NSObject {
  @objc(tweet)
  func tweet() {
    guard let vc = (UIApplication.shared.delegate as? AppDelegate)?.window?.rootViewController else { return }
    let composer = TWTRComposer()
    composer.setText("foo")
    composer.show(from: vc, completion: {(result) in
      if (result == .done) {
        print("Success")
      } else {
        print("Failure")
      }
    })
  }
}

Please list all relevant steps to reproduce the observed behavior.

taichi-jp commented 6 years ago

I was using TwitterKit2. In 3, this is fixed.