Fix warnings associated with deprecated uses of iOS frameworks.  Also warnings with 32-bit/64-bit compiler.