Not working properly on iOS 11, Xcode 9
I'm trying to implement this in an app in iOS 11, but it doesn't work properly. It isn't showing image icon etc.
Using it in a Swift project through bridging header.
Same problem here, you find a solution?
Still no luck here.
Does the example project work on iOS 11?
No it doesn't.
Just checked, the example project is working. Can you provide more information?
Unfortunately, I agree that the composeBarView does indeed not work as intended. It does not appear/get rendered within the app, no error in the debugger.
When commenting out – // override var canBecomeFirstResponder: Bool { return true } the composeBarView gets rendered. However, when touched, disappears.
From the documentation it looks like a great tool. Would be awesome, if the issue could be fixed.
CODE:
import UIKit
import PHFComposeBarView
class ViewController: UIViewController, PHFComposeBarViewDelegate {
@IBOutlet weak var composeBarView: PHFComposeBarView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
self.composeBarView.delegate = self
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
override var canBecomeFirstResponder: Bool { return true }
override var inputAccessoryView: UIView {
composeBarView.removeFromSuperview()
return composeBarView
}
}