IOS如何获取设备的 DeviceToken

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

  NSString *strDeviceToken = [[[[deviceToken description] stringByReplacingOccurrencesOfString: @"<" withString: @""]                  stringByReplacingOccurrencesOfString: @">" withString: @""] stringByReplacingOccurrencesOfString: @" " withString: @""];