You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you do not need the link textfield to show, you can do this:
25
+
```swift
26
+
let viewController =WebViewLibrary(link: "https://fb.com", isLinkTextfieldHidden: true)
27
+
```
28
+
29
+
Setup Instruction
30
+
---------
31
+
-### COCOAPODS
32
+
With CocoaPods, add to your Podfile
33
+
34
+
```sh
35
+
pod 'WebViewLibrary'
36
+
```
37
+
Open your project directory in terminal and run
38
+
```sh
39
+
$ pod install
40
+
```
41
+
42
+
In order to update with the lastest WebViewLibrary SDK, run
43
+
```sh
44
+
$ pod update
45
+
```
46
+
47
+
- ### SPM
48
+
<br>When using Xcode 11 or later, you can install Toast by going to your `Project settings`>`Swift Packages` and add the repository by providing the GitHub URL. Alternatively, you can go to `File`>`Swift Packages`>`Add Package Dependencies`...
24
49
25
-
- Initialize WebViewLibrary with the link it is to load; ensure the link is a valid url and has in this format- `"https://your-url"`
26
-
- Run your project and see it in action.
50
+
- ### Manually
51
+
1. Add `WebViewLibrary.swift` to your project.
52
+
2. Enjoy!
27
53
28
-
#### How it looks:
54
+
Extra Notes
55
+
---------
56
+
- Ensure the link provided is a valid url and is in this format- `"https://your-url"`
0 commit comments