File tree 3 files changed +3
-6
lines changed
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ source 'https://github.com/CocoaPods/Specs.git'
19
19
platform :ios, '9.0'
20
20
21
21
target 'TargetName' do
22
- pod 'ZFWKWebView', '~> 1.1.3 '
22
+ pod 'ZFWKWebView', '~> 1.1.4 '
23
23
end
24
24
```
25
25
Then, run the following command:
Original file line number Diff line number Diff line change 9
9
10
10
Pod ::Spec . new do |s |
11
11
s . name = "ZFWKWebView"
12
- s . version = "1.1.3 "
12
+ s . version = "1.1.4 "
13
13
s . summary = "No short description of ZFWKWebView."
14
14
s . homepage = "https://github.com/FranLucky/ZFWKWebView"
15
15
s . license = { :type => "MIT" , :file => "LICENSE" }
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ - (NSArray *)configObservePaths {
224
224
}
225
225
226
226
- (void )dealloc {
227
- NSLog ( @" %s " , __func__) ;
227
+ [ self removeObserver ] ;
228
228
}
229
229
- (void )removeObserver {
230
230
if (self.titleLabel ) {
@@ -284,9 +284,6 @@ - (void)viewWillDisappear:(BOOL)animated {
284
284
- (void )viewDidDisappear : (BOOL )animated {
285
285
[super viewDidDisappear: animated];
286
286
[self .config.callbacks removeAllObjects ];
287
- // fixed with iOS10,remove observe first
288
- [self removeObserver ];
289
- self.config = nil ;
290
287
}
291
288
- (void )viewDidLoad {
292
289
[super viewDidLoad ];
You can’t perform that action at this time.
0 commit comments