小编Ste*_*ino的帖子

Google App Engine的XMPP和渠道API之间的差异

我正在开发一个不在AppEngine上的应用程序,并且具有聊天功能,可以放入通信Web客户端(浏览器+ javascript)和移动客户端(ActionScript).我正在考虑在AppEngine上使用XMPP协议(然后在Google上只使用服务器进行聊天功能,并将其余部分留在我的服务器上).你告诉我这是否可能?与Channel API有什么不同?谢谢

google-app-engine xmpp channel-api

7
推荐指数
2
解决办法
5125
查看次数

UIImageView:全屏图像

我想在iPhone上看到全屏图像.我必须设置多少像素?iPhone 3和4的宽度和高度不同?

我的源代码:

NSString *filePath = [[NSBundle mainBundle] pathForResource:theProduct.image ofType:@"png"]; 
UIImageView *img = [[UIImageView alloc] initWithImage:[UIImage imageWithContentsOfFile:filePath]];
img.frame = CGRectMake(0.0, 0.0, ?, ?);
[self.view addSubview:img];
Run Code Online (Sandbox Code Playgroud)

我该怎么做而不是问号?

非常感谢,斯特凡诺

iphone ios

0
推荐指数
1
解决办法
9581
查看次数

标签 统计

channel-api ×1

google-app-engine ×1

ios ×1

iphone ×1

xmpp ×1