Giter Site home page Giter Site logo

Comments (7)

MVakas avatar MVakas commented on June 14, 2024

Using it in a Swift project through bridging header.

from phfcomposebarview.

MattiaConfalonieri avatar MattiaConfalonieri commented on June 14, 2024

Same problem here, you find a solution?

from phfcomposebarview.

MVakas avatar MVakas commented on June 14, 2024

Still no luck here.

from phfcomposebarview.

fphilipe avatar fphilipe commented on June 14, 2024

Does the example project work on iOS 11?

from phfcomposebarview.

MVakas avatar MVakas commented on June 14, 2024

No it doesn't.

from phfcomposebarview.

fphilipe avatar fphilipe commented on June 14, 2024

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

from phfcomposebarview.

Peanutsmasher avatar Peanutsmasher commented on June 14, 2024

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

from phfcomposebarview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.