| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ea914bc commit 9b98cce
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -460,6 +460,13 @@ - (void)application:(UIApplication *)application performActionForShortcutItem:(U | |||
| 460 | 460 | [nextTweet saveSendData];//发送前保存草稿 | |
| 461 | 461 | [[Coding_NetAPIManager sharedManager] request_Tweet_DoTweet_WithObj:nextTweet andBlock:^(id data, NSError *error) { | |
| 462 | 462 | if (data) { | |
| 463 | + if ([[BaseViewController presentingVC] respondsToSelector:NSSelectorFromString(@"refresh")]) { | ||
| 464 | + #pragma clang diagnostic push | ||
| 465 | + #pragma clang diagnostic ignored "-Warc-performSelector-leaks" | ||
| 466 | + [[BaseViewController presentingVC] performSelector:NSSelectorFromString(@"refresh")]; | ||
| 467 | + #pragma clang diagnostic pop | ||
| 468 | + | ||
| 469 | + } | ||
| 463 | 470 | [Tweet deleteSendData];//发送成功后删除草稿 | |
| 464 | 471 | } | |
| 465 | 472 | }]; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,7 +36,7 @@ | |||
| 36 | 36 | </dict> | |
| 37 | 37 | </array> | |
| 38 | 38 | <key>CFBundleVersion</key> | |
| 39 | - <string>4.2.201701200930</string> | ||
| 39 | + <string>4.2.201701201700</string> | ||
| 40 | 40 | <key>ITSAppUsesNonExemptEncryption</key> | |
| 41 | 41 | <false/> | |
| 42 | 42 | <key>LSApplicationQueriesSchemes</key> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,4 +21,6 @@ typedef NS_ENUM(NSUInteger, Tweet_RootViewControllerType){ | |||
| 21 | 21 | ||
| 22 | 22 | @interface Tweet_RootViewController : BaseViewController<UITableViewDataSource, UITableViewDelegate, UIScrollViewDelegate, UIMessageInputViewDelegate> | |
| 23 | 23 | + (instancetype)newTweetVCWithType:(Tweet_RootViewControllerType)type; | |
| 24 | + | ||
| 25 | + - (void)refresh; | ||
| 24 | 26 | @end | |
| Back | FazBrowse Home | New Git URL |
0 commit comments