Capture signature view in Swift