add necessary ios attributes

I was setting up this library and I felt that this piece of the README could be expanded to more fully explain the iOS example. For me, it didn't work without these lines.