【发布时间】:2020-09-14 05:12:54
【问题描述】:
大家好,我在 Facebook 应用程序中进行了第一次调整以执行简单的任务但我尝试在我的项目中使用 FCAlertView 警报 https://github.com/nimati/FCAlertView 我使用此代码在 facebook 主页中查看警报
#import <UIKit/UIKit.h>
#import <CoreGraphics/CoreGraphics.h>
#import "FCAlertView.h"
#import <MessageUI/MessageUI.h>
%config(generator=internal)
%hook FBBaseAppDelegate
- (void)applicationDidBecomeActive:(id)arg1 {
%orig;
FCAlertView *alert = [[FCAlertView alloc] init];
[alert showAlertWithTitle:@“Test Alert"
withSubtitle:@"This is alert's subtitle."
withCustomImage:nil
withDoneButtonT itle:nil
andButtons:nil];
}
%end
但是有一个错误
“未定义符号:OBJC_CLASS$_FCAlertview”
我正在使用 xcode(单独的猴子)进行调整
【问题讨论】: