我的一个iphone应用被苹果拒绝了.这是决议中心的原因.
我们发现您的应用使用分析软件收集设备数据并将其发送给第三方,这不符合iOS开发人员计划许可协议.
3.3.9未经用户同意,您和您的应用程序不得收集用户或设备数据,然后仅提供与使用应用程序直接相关的服务或功能,或提供广告服务.您不得在"应用程序"中使用分析软件来收集设备数据并将其发送给第三方.
具体而言,您的应用程序在未经其事先同意的情况下传输用户的MAC地址.从您的应用程序中删除此行为或获得用户的同意是适当的."
没有使用任何分析sdk.只有第三方使用的是 - Chartboost,Revmob,facebook-ios-sdk,Nextpeer.我该如何解决这个问题?怎么能找到哪个sdk有问题?
我成功地将nextpeer集成到我的项目中,但是当你搜索其他玩家时,当游戏的在线版本只有2个玩家时,不止一个人可以加入游戏.如果可能的话,如何设置一个选项,限制每场最多两名球员?谢谢.
CCScene* GameLayer::scene() {
CCScene * scene = NULL;
do {
// 'scene' is an autorelease object
scene = CCScene::create();
CC_BREAK_IF(! scene);
// 'layer' is an autorelease object
GameLayer *layer = GameLayer::create();
CC_BREAK_IF(! layer);
// add layer as a child to scene
scene->addChild(layer);
} while (0);
// return the scene
return scene;
}
Run Code Online (Sandbox Code Playgroud)
do-while
这段代码中block 的含义是什么?
我在肖像游戏中使用了Nextpeer并且工作正常.在横向游戏中使用相同的代码,但Nextpeer仪表板仍处于纵向模式.如何将Nextpeer仪表板方向更改为横向?
这是我的Nextpeer初始化代码:
-(void)initializeNextpeer:(NSDictionary *)launchOptions
{
if([self internetConnected])
{
BOOL isRetina = (IS_IPAD) ? FALSE : TRUE ;
NSDictionary* settings = [NSDictionary dictionaryWithObjectsAndKeys:
// This game has no retina support - therefore we have to let the platform know
[NSNumber numberWithBool:isRetina], NextpeerSettingGameSupportsRetina,
// Support orientation change for the dashboard notifications
[NSNumber numberWithBool:TRUE], NextpeerSettingSupportsDashboardRotation,
// Support orientation change for the in game notifications
[NSNumber numberWithBool:TRUE], NextpeerSettingObserveNotificationOrientationChange,
// Place the in game notifications on the bottom screen (so the current score …
Run Code Online (Sandbox Code Playgroud) 我正在遵循将cocos2d-x中的nextpeer与c ++集成的接下来的指导原则,我已经在项目中复制了所需的框架和类,然后为nextpeer添加了所需的框架,还添加了链接器标志但是有Apple Mach-O链接器错误,这是一个日志:
Undefined symbols for architecture i386:
"_CTFontCopyFullName", referenced from:
-[NSMutableAttributedString(NP_OHCommodityStyleModifiers) npSetTextBold:range:] in Nextpeer(NP_NSAttributedString+Attributes.o)
"_CTFontCreateCopyWithAttributes", referenced from:
___NP_NSAttributedStringByScalingFontSize_block_invoke in Nextpeer(NP_TTTAttributedLabel.o)
"_CTFontCreateCopyWithSymbolicTraits", referenced from:
-[NSMutableAttributedString(NP_OHCommodityStyleModifiers) npSetTextBold:range:] in Nextpeer(NP_NSAttributedString+Attributes.o)
"_CTFontCreateUIFontForLanguage", referenced from:
-[NSMutableAttributedString(NP_OHCommodityStyleModifiers) npSetTextBold:range:] in Nextpeer(NP_NSAttributedString+Attributes.o)
"_CTFontCreateWithFontDescriptor", referenced from:
-[NSMutableAttributedString(NP_OHCommodityStyleModifiers) npSetFontFamily:size:bold:italic:range:] in Nextpeer(NP_NSAttributedString+Attributes.o)
"_CTFontCreateWithName", referenced from:
_NP_NSAttributedStringAttributesFromLabel in Nextpeer(NP_TTTAttributedLabel.o)
-[NSMutableAttributedString(NP_OHCommodityStyleModifiers) npSetFontName:size:range:] in Nextpeer(NP_NSAttributedString+Attributes.o)
"_CTFontDescriptorCreateWithAttributes", referenced from:
-[NSMutableAttributedString(NP_OHCommodityStyleModifiers) npSetFontFamily:size:bold:italic:range:] in Nextpeer(NP_NSAttributedString+Attributes.o)
"_CTFontGetSize", referenced from:
___39+[NP_OHASBasicMarkupParser tagMappings]_block_invoke_3 in Nextpeer(NP_OHASBasicMarkupParser.o)
___NP_NSAttributedStringByScalingFontSize_block_invoke in Nextpeer(NP_TTTAttributedLabel.o)
"_CTFontGetSymbolicTraits", referenced from:
-[NSAttributedString(NP_OHCommodityConstructors) npTextIsBoldAtIndex:effectiveRange:] in Nextpeer(NP_NSAttributedString+Attributes.o)
"_CTFrameGetLineOrigins", referenced from:
-[NP_TTTAttributedLabel …
Run Code Online (Sandbox Code Playgroud)