如何使用Iphone应用程序和设备的其他信息获取设备令牌? [英] how to get Device Token using Iphone Application and other info about the device?

查看:197
本文介绍了如何使用Iphone应用程序和设备的其他信息获取设备令牌?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的iphone应用程序中,我希望设备令牌使用APN。
如何使用代码获取?

In my iphone application i want Device Token using the APN. How to get that using code ?

我想要的其他信息有关设备用户,其版本和其他信息。
如何使用代码?

Alos i want Other information about the Device User,its version and other info. How to get that using Code ?

是否可以使用设备令牌获取设备其他信息?

Is it possible to get the device other information using Device Token?

设备令牌的格式是什么?

what is the format of the Device Token?

请通过代码或任何链接或任何其他方式提供解决方案,我们将不胜感激。

Please give solution by code or any link or any other way,which would be appreciated.

谢谢,

Mishal Shah

Mishal Shah

推荐答案

在这里你如何获得有关设备的信息---

here how you get information about device---

NSString*  deviceName= [[UIDevice currentDevice] uniqueIdentifier];
NSString*  localizedModel=[[UIDevice currentDevice] localizedModel];
NSString*  systemVersion=[[UIDevice currentDevice] systemVersion];
NSString*  systemName=[[UIDevice currentDevice] systemName];
NSString*  model=[[UIDevice currentDevice] model];

这篇关于如何使用Iphone应用程序和设备的其他信息获取设备令牌?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆