Fix warnings associated with deprecated uses of iOS frameworks