KNSemiModalViewController
KNSemiModalViewController copied to clipboard
error: linker command failed with exit code 1
After the addition, the following questions arise: ld: 1 duplicate symbol for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
same as
add typedef
typedef NS_ENUM(NSUInteger, KNSemiModalTransitionStyle) { KNSemiModalTransitionStyleSlideUp, KNSemiModalTransitionStyleFadeInOut, KNSemiModalTransitionStyleFadeIn, KNSemiModalTransitionStyleFadeOut, };
Thank you @kkkelicheng . I just had to update some ancient code for iPhone X and this saved me.