hstdt

Results 44 comments of hstdt

上面7楼更新了一下,在7-12秒的时候,DetailViewController的返回按钮消失,这个不知道如何能添加回来。

`self.rt_navigationController.title`也不行,`self.rt_navigationController.navigationItem.title`可以

Is it possible for more detail info from SwiftUI, such as text font. https://github.com/nalexn/ViewInspector

@liqi0816 mac + chrome 65 可用,谢谢~

Update: with `scaledToFit()` or `scaledToFill()` ![CleanShot 2023-11-03 at 11 11 08](https://github.com/SDWebImage/SDWebImageSwiftUI/assets/10215098/b476d6fe-b831-4830-b322-b717ba0e03a0)

@dreampiggy Xcode 15.2 beta with v3.0.0-beta.2/v3.0.0-beta.3 ![CleanShot 2023-12-20 at 10 18 54](https://github.com/SDWebImage/SDWebImageSwiftUI/assets/10215098/d9982bbb-8e5b-4076-9c1f-aa33e74181c9)

What's the point of `_AspectRatioLayout(aspectRatio: aspectRatio, contentMode: contentMode)`, I removed this and everything is ok now(only tested on iOS 17). demo project: [SDDisplayDemo.zip](https://github.com/SDWebImage/SDWebImageSwiftUI/files/13724056/SDDisplayDemo.zip) ![CleanShot 2023-12-20 at 14 50 47](https://github.com/SDWebImage/SDWebImageSwiftUI/assets/10215098/c8006e8e-4b07-4fe0-a3db-772d717c0493) ![CleanShot...

how about backport `.buttonRepeatBehavior(.enabled)`

尝试使用了修改RawData定义的方式,但是是破坏性的。这个分支基于SPM的支持和增加了一个willdismiss的delegate功能分支。 https://github.com/hstdt/JFHeroBrowser/tree/rawdata spm支持分支(JRBaseKit以Git Submodule方式导入) https://github.com/hstdt/JFHeroBrowser/tree/spm willdismiss分支 https://github.com/hstdt/JFHeroBrowser/tree/feat-dismiss 这几个分支是基于已有的两个Pull Request编写的。

修改了RawData的定义之后,`asyncLoadRawSource`就能够拿到origin data了,但是就不能兼容之前的接口了,NetworkImageProvider也要随着库更新。不确定是否是一个好的方案。