Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working properly on iOS 11, Xcode 9 #69

Open
MVakas opened this issue Sep 30, 2017 · 7 comments
Open

Not working properly on iOS 11, Xcode 9 #69

MVakas opened this issue Sep 30, 2017 · 7 comments

Comments

@MVakas
Copy link

MVakas commented Sep 30, 2017

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.

@MVakas
Copy link
Author

MVakas commented Sep 30, 2017

Using it in a Swift project through bridging header.

@MattiaConfalonieri
Copy link

Same problem here, you find a solution?

@MVakas
Copy link
Author

MVakas commented Feb 2, 2018

Still no luck here.

@fphilipe
Copy link
Owner

fphilipe commented Feb 2, 2018

Does the example project work on iOS 11?

@MVakas
Copy link
Author

MVakas commented Feb 2, 2018

No it doesn't.

@fphilipe
Copy link
Owner

fphilipe commented Feb 6, 2018

Just checked, the example project is working. Can you provide more information?

@Peanutsmasher
Copy link

Peanutsmasher commented Aug 10, 2018

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
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants