fbconnect for iOs 5? [英] fbconnect for iOs 5?

查看:81
本文介绍了fbconnect for iOs 5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用iOs 5.在我的项目中,我需要整合Facebook和我添加的Facebook sdk,但我们都知道在iOs 5中发布不需要,所以它显示我的错误,所以我删除了所有的这个版本,autorelease ,保留在所有sdk仍然它不工作...
有什么办法来解决这个问题..

或链接,我可以下载最新的sdk的Facebook集成?

I am using iOs 5.and in my project i need to integrate facebook and i add facebook sdk for that but as we all know release is not needed in iOs 5 so it showing me error so i deleted all that release, autorelease,retain in all sdk still its not working... is there any way to solve that issue..
or an link where i can download latest sdk for Facebook integration ??

#import "FBConnectGlobal.h"

const NSString* kFB_SDK_VersionNumber = @"iphone/1.2.2";

const void* RetainNoOp(CFAllocatorRef allocator, const void *value) { return value; }
void ReleaseNoOp(CFAllocatorRef allocator, const void *value) { }

 NSMutableArray* FBCreateNonRetainingArray()
{
      CFArrayCallBacks callbacks = kCFTypeArrayCallBacks;
      callbacks.retain = RetainNoOp;
      callbacks.release = ReleaseNoOp;
      return (NSMutableArray*)CFArrayCreateMutable(nil, 0, &callbacks);
}

推荐答案

嘿,chirag这是fb sdk为ios 5如果你想集成fb进行共享,你可以使用opensource共享包。这很容易实现,可以集成所有流行的社交网络。

Hey chirag this is problem with fb sdk for ios 5. if you wants to integrate fb for sharing than You can use opensource sharekit for that. this is easy to implement and can integrate all the popular social networks.

这是非常正常的ios 5我已经测试了。您可以从以下链接中获取。

This is working fine with ios 5 i have tested it. you can get it from following link.

http:// www。 getsharekit.com

这篇关于fbconnect for iOs 5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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