CBZSplashView icon indicating copy to clipboard operation
CBZSplashView copied to clipboard

Bezier Postion

Open chlebta opened this issue 10 years ago • 1 comments

How to set the bezier position to center ? As you can see in picture it's appearing at the bottom instead of center : img_0059

chlebta avatar Dec 02 '15 16:12 chlebta

On my app, the icon is appearing in the centre of the view inside the Navigation Controller. I believe that this is happening in your case as well. The offset is the height of your navigationController.

I don't know how to fix it, if anyone can help, please do. Thank you!

EDIT: Solved it by adding the splashView as a subview of the Window and not my main view. Try it and let me know if it fixes your problem:

if let appDel = UIApplication.shared.delegate as? AppDelegate {
	appDel.window?.addSubview(splashView)
	splashView.startAnimation()
}

lpbas avatar Jun 28 '17 10:06 lpbas