在Facebook用户的Xcode中查看ProfilePicture

问题描述:

当我使用时

self.profilePic.profileID = user.id;

我最终得到此错误

-[UIView setProfileID:]: unrecognized selector sent to instance 0x69626f0
2012-09-11 09:49:50.535 TweetApp[992:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView setProfileID:]: unrecognized selector sent to instance 0x69626f0'

任何人都可以帮助这个话题吗?

can anyone help on this topic??

我相信你在谈论Facebook美味的示例项目。如果是这种情况,则必须将UIView控件的类设置为 FBProfilePictureView

I believe you are talking about Facebook Scrumptious sample project. If that is the case, you have to set the Class of UIView control to FBProfilePictureView