[英]swift 3 xcode 8 'MBProgressHUD.h' file not found failed to import bridging header '/myPath/myProj/myProj/myProj-Bridging-Header.h'
[英]Expected a type error in 'myproj'-Bridging-Header.swift
在這里輸入的形象描述當我添加的UIImage + Gif.swift文件到我的目標C項目,以在斯威夫特文件添加我的OBJ-C項目中的GIF圖像我得到了“預期類型”中產生迅速的頭文件的錯誤。
+ (double)delayForImageAtIndex:(NSInteger)index source:(CGImageSourceRef _Null_unspecified)source;
+ (UIImage * _Nullable)animatedImageWithSource:(CGImageSourceRef _Nonnull)source;
簡單,
通過右鍵單擊所有目標c文件所在的左側面板來添加新文件,並添加新文件並將其命名為uiimage + gif
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.