使用适用于iOS的Apptentive SDK(https://github.com/apptentive/apptentive-ios).
当用户退出我的应用程序时,我需要一种方法来清除Apptentive保存的对话.
试过:
[[ATConnect sharedConnection] setInitialUserName:@""];
[[ATConnect sharedConnection] removeCustomPersonDataWithKey:@"name"];
Run Code Online (Sandbox Code Playgroud) 我正在尝试将Apptentive添加到IOS应用程序中.已经有相当多的外部库被使用,例如Admob和Google分析.
我按照这个指南来写这封信,但我不能让它融合.看到下面讨厌的失败信息:
Undefined symbols for architecture armv7:
"_kCTUnderlineStyleAttributeName", referenced from:
-[ATTTTAttributedLabel commonInit] in libApptentiveConnect.a(TTTAttributedLabel.o)
"_CTFontCopyName", referenced from:
___NSAttributedStringByScalingFontSize_block_invoke in libApptentiveConnect.a(TTTAttributedLabel.o)
"_CTFontGetSize", referenced from:
___NSAttributedStringByScalingFontSize_block_invoke in libApptentiveConnect.a(TTTAttributedLabel.o)
"_kCTForegroundColorFromContextAttributeName", referenced from:
_NSAttributedStringBySettingColorFromContext in libApptentiveConnect.a(TTTAttributedLabel.o)
___NSAttributedStringBySettingColorFromContext_block_invoke in libApptentiveConnect.a(TTTAttributedLabel.o)
"_CTFramesetterSuggestFrameSizeWithConstraints", referenced from:
-[ATTTTAttributedLabel textRectForBounds:limitedToNumberOfLines:] in libApptentiveConnect.a(TTTAttributedLabel.o)
-[ATTTTAttributedLabel sizeThatFits:] in libApptentiveConnect.a(TTTAttributedLabel.o)
"_CTFontGetUnderlineThickness", referenced from:
-[ATTTTAttributedLabel drawStrike:inRect:context:] in libApptentiveConnect.a(TTTAttributedLabel.o)
"_CTLineGetGlyphRuns", referenced from:
-[ATTTTAttributedLabel drawBackground:inRect:context:] in libApptentiveConnect.a(TTTAttributedLabel.o)
-[ATTTTAttributedLabel drawStrike:inRect:context:] in libApptentiveConnect.a(TTTAttributedLabel.o)
"_CTFrameGetLineOrigins", referenced from:
-[ATTTTAttributedLabel characterIndexAtPoint:] in libApptentiveConnect.a(TTTAttributedLabel.o)
-[ATTTTAttributedLabel drawFramesetter:attributedString:textRange:inRect:context:] in libApptentiveConnect.a(TTTAttributedLabel.o)
-[ATTTTAttributedLabel drawBackground:inRect:context:] in …Run Code Online (Sandbox Code Playgroud)