Update the readme chapter of FAQ
This commit is contained in:
parent
a6f495a29c
commit
72c604d4ce
12
README.md
12
README.md
|
@ -198,13 +198,18 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
|
||||||
|
|
||||||
For more information, it's really recommended to check our demo, to learn detailed API usage. You can also have a check at the latest API documentation, for advanced usage.
|
For more information, it's really recommended to check our demo, to learn detailed API usage. You can also have a check at the latest API documentation, for advanced usage.
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
+ [SDWebImageSwiftUI API documentation](https://sdwebimage.github.io/SDWebImageSwiftUI/)
|
||||||
|
+ [SDWebImage API documentation](https://sdwebimage.github.io/)
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
### Common Problems
|
### Common Problems
|
||||||
|
|
||||||
+ Using Image/WebImage/AnimatedImage in Button/NavigationLink
|
+ Using Image/WebImage/AnimatedImage in Button/NavigationLink
|
||||||
|
|
||||||
SwiftUI's button apply overlay to its content (except Text) by default, this is common mistake to write code like this, which cause strange behavior:
|
SwiftUI's `Button` apply overlay to its content (except `Text`) by default, this is common mistake to write code like this, which cause strange behavior:
|
||||||
|
|
||||||
```swift
|
```swift
|
||||||
// Wrong
|
// Wrong
|
||||||
|
@ -227,11 +232,6 @@ Button(action: {
|
||||||
.buttonStyle(PlainButtonStyle())
|
.buttonStyle(PlainButtonStyle())
|
||||||
```
|
```
|
||||||
|
|
||||||
## Documentation
|
|
||||||
|
|
||||||
+ [SDWebImageSwiftUI API documentation](https://sdwebimage.github.io/SDWebImageSwiftUI/)
|
|
||||||
+ [SDWebImage API documentation](https://sdwebimage.github.io/)
|
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
To run the example using SwiftUI, following the steps:
|
To run the example using SwiftUI, following the steps:
|
||||||
|
|
Loading…
Reference in New Issue