前提你要越狱下载了flex插件
一、进入flex→点击右上角+号→选择YoukuiPhone→点击Add-Units…→点击第一个YoukuiPhone→选择process, 等待加载完成。
二、加载完成后再点一次YoukuiPhone
搜索YoukuAdRequest, 点击勾选-(id) initWithTag:(int),
搜索Advs, 点击勾选-(void) setAds:(id), 再勾选-(id) adurl;
搜索YKConfiguration, 勾选-(BOOL) gameCenterEnable
三、后退到回到前面点击Add Units那, 会发现下面多了四条刚刚添加的规则。
点击Unit for -(id) initWithTag:(int), 将Return Value (id)属性改成(NULL);
点击Unit for -(void) setAds:(id)将Argument #1 (id)属性改成(NULL);
点击Unit for -(id) adurl, 将Return Value (id)属性改成(NULL);
点击Unit for -(BOOL) gameCenterEnable将Return Value (ROOL)属性改成FALSE
四、完工, 弄完后记得将补丁勾打上。
……