logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

个人开发者帐号+wireless install 实现非app store程序的在线更新功能

转自:http://www.cocoachina.com/bbs/read.php?tid-61853-keyword-%B8%FC%D0%C2.html个人开发者帐号+wireless install 实现非app store程序的在线更新功能   公司有个客户,程序不上app store,但是需要有在线更新的功能。因为公司的企业级帐号还没申请

#浏览器
mac 系统命令行查询本机 ip

在终端输入:curl whatismyip.org  命令即可看到自己的外网ip地址查询user-agent 信息 :http://whatsmyuseragent.com/

查询本机ip和浏览器useragent的网址

ip : http://www.whatismyip.comuseragent: http://whatsmyuseragent.com也可以在程序中请求:NSString *strReturn = [NSStringstringWithContentsOfURL:[NSURLURLWithString:@"http://automation.w

UIWebView更改UserAgent

<br /><br />NSString *strUserAgent = @"Your UserAgent";<br /><br /><br /><br />id webDocumentView;<br /> <br /><br />id webView;<br /> <br /><br />webDocumentView = objc_msgSend(myWebView,@selector(_d

mac os WebView 更改UserAgent

使用WebView::setCustomUserAgent成员函数即可实现;可以通过访问http://whatsmyuseragent.com验证;

到底了