Shin Biao Shin Biao - 27 days ago 5x
iOS Question

how to print a string contains @ and " in objective c

For example:I want to write

by Objective c,but it get error.
Does anyone know how to print a string containing


You can print @"@^@" this like,


If you want to print " then you need to add back slash before it like, \"

Hope this will help :)