gpt4 book ai didi

objective-c - 在Xcode中查看facebook用户的ProfilePicture

转载 作者:技术小花猫 更新时间:2023-10-29 11:09:48 25 4
gpt4 key购买 nike

当我使用

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'

任何人都可以帮助解决这个问题吗??

最佳答案

您可以简单地解决这个问题。只需将这行代码 [FBProfilePictureView class]; 放在方法 application:didFinishLaunchingWithOptions:

的第一行
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[FBProfilePictureView class];
//...
return YES;
}

关于objective-c - 在Xcode中查看facebook用户的ProfilePicture,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12362740/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com