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

Cannot set image background #15

Open
arcioneo opened this issue Aug 26, 2016 · 0 comments
Open

Cannot set image background #15

arcioneo opened this issue Aug 26, 2016 · 0 comments

Comments

@arcioneo
Copy link

Hi, this is an awesome tool, thanks for that.

I tried to set a background image view(already done before) like this:

let backgroundImage = UIImage(named: imageName)
let backgroundView = UIImageView(image: backgroundImage)
backgroundView.frame = signatureViewController.view.frame       
signatureViewController.view.addSubview(backgroundView)
signatureViewController.view.sendSubviewToBack(backgroundView)

But it is just setted in a part of the screen.

Also could not make the navigation bar translucent


UINavigationController.navigationBar.setBackgroundImage(UIImage(), forBarMetrics: UIBarMetrics.Default)
UINavigationController.navigationBar.shadowImage = UIImage()
UINavigationController.view.backgroundColor      = UIColor.clearColor()
UINavigationController.navigationBar.translucent = true

The above code is tested in my whole app, but cannot make it work for this component

thanks in advance

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

1 participant