0

I am creating custom keyboard and for that I want to add quotation marks in an array for setting it as an button title. So how can I do these in Swift?

Here is a below code I tried:

symbolArray = ["+","-"," " "]

ikbal
  • 1,114
  • 1
  • 11
  • 30

1 Answers1

1

You have to escape the quotes with a backslash. "\""

Beau Nouvelle
  • 6,962
  • 3
  • 39
  • 54