Comments (11)
能具体说一下... 哪些图标不显示? 以及 在什么设备上测试的!! 我这边好对应修改!
from knphotobrowser.
我这边试了一下 cocoapods. bundle中的资源文件可以显示的!
from knphotobrowser.
@LuKane 确实有图标显示不出来,pod导入的,视频按钮出不来
from knphotobrowser.
1.麻烦说一下 设备型号 以及 系统版本号!
2.模拟器上能复现吗?
from knphotobrowser.
1.麻烦说一下 设备型号 以及 系统版本号! 2.模拟器上能复现吗?
iPhone 8(iOS 13), iPhone XS Max(iOS 15) 和模拟器(iPad Pro 11 寸 IOS 15.2)均能复现
使用的是master分支代码
from knphotobrowser.
方便的话. 加一下QQ细说!! 1169604556
from knphotobrowser.
@LuKane 加载图片的代码增加一个in bundle就可以了
NSBundle *bundle = [NSBundle bundleForClass:[KNPhotoBrowser class]];
比如
- (void)setIsPlaying:(BOOL)isPlaying{
_isPlaying = isPlaying;
if (isPlaying) {
_isDragging = false;
[_slider setUserInteractionEnabled:true];
[_pauseStopBtn setImage:[UIImage imageNamed:@"KNPhotoBrowser.bundle/[email protected]" inBundle:bundle compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
}else{
[_pauseStopBtn setImage:[UIImage imageNamed:@"KNPhotoBrowser.bundle/[email protected]" inBundle:bundle compatibleWithTraitCollection:nil] forState:UIControlStateNormal];
}
}
另外使用asset就能更方便切换 1x 2x 3x 图
https://stackoverflow.com/a/61119321/4728060
from knphotobrowser.
好的好的!! 我先找出部分机型显示不出来的原因
from knphotobrowser.
好的好的!! 我先找出部分机型显示不出来的原因
@LuKane 就像上面说的,原因就是没加inBundle
,加上就好了,我确认过了。
from knphotobrowser.
好的
from knphotobrowser.
cocoapods中的 2.5.5版本已修复!
from knphotobrowser.
Related Issues (20)
- 2.5.4 Pod 添加的依赖找不到 bundle 中的图片资源 HOT 5
- [feature request]iPad分屏支持 HOT 3
- 大佬,只支持竖屏的应用如何支持全屏播放视频呢 HOT 1
- 视频预览 拖动进度条没有效果 HOT 4
- 小圆点点没切换图片行为? HOT 1
- 如何设置如下场景的视频播放? HOT 3
- -[KNPhotoAVPlayerView retain]: message sent to deallocated instance 0x11ed29510 HOT 2
- 视频播放没声音... HOT 4
- 是否能当成View来使用 HOT 5
- 发现了一个必崩的bug HOT 8
- 请问支持视频播放控件的自定义吗 HOT 1
- 老铁,这么好的库,强烈建议Swift版啊 HOT 1
- 大佬,这么好的库,可以加上视频缩放吗,手势放大或者缩小视频 HOT 1
- 一个动画的问题 HOT 2
- 本地图片支持 HOT 1
- 加载本地视频时报错 HOT 1
- 由于我是加载的本地图片,有什么办法能隐藏掉progressHUD吗? HOT 1
- 图片放大后浏览大图和左右滑动的手势 会冲突,可以调整什么滑动的系数 解决吗 HOT 2
- 能坚持更新就很厉害了,赞了
- 一张图 高度小于屏幕高度的图 放大之后 ,左右滑动,很容易切换到下一张图上,有没有什么办法可以优化 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knphotobrowser.