Showing
5 changed files
with
18 additions
and
36 deletions
No preview for this file type
@@ -527,7 +527,7 @@ | @@ -527,7 +527,7 @@ | ||
527 | "$(inherited)", | 527 | "$(inherited)", |
528 | "@executable_path/Frameworks", | 528 | "@executable_path/Frameworks", |
529 | ); | 529 | ); |
530 | - MARKETING_VERSION = 3.0.6; | 530 | + MARKETING_VERSION = 3.0.8; |
531 | PRODUCT_BUNDLE_IDENTIFIER = com.hh.hhvdoctorSDK; | 531 | PRODUCT_BUNDLE_IDENTIFIER = com.hh.hhvdoctorSDK; |
532 | PRODUCT_NAME = "$(TARGET_NAME)"; | 532 | PRODUCT_NAME = "$(TARGET_NAME)"; |
533 | PROVISIONING_PROFILE_SPECIFIER = ""; | 533 | PROVISIONING_PROFILE_SPECIFIER = ""; |
@@ -557,7 +557,8 @@ | @@ -557,7 +557,8 @@ | ||
557 | "$(inherited)", | 557 | "$(inherited)", |
558 | "@executable_path/Frameworks", | 558 | "@executable_path/Frameworks", |
559 | ); | 559 | ); |
560 | - MARKETING_VERSION = 3.0.6; | 560 | + MARKETING_VERSION = 3.0.8; |
561 | + ONLY_ACTIVE_ARCH = YES; | ||
561 | PRODUCT_BUNDLE_IDENTIFIER = com.hh.hhvdoctorSDK; | 562 | PRODUCT_BUNDLE_IDENTIFIER = com.hh.hhvdoctorSDK; |
562 | PRODUCT_NAME = "$(TARGET_NAME)"; | 563 | PRODUCT_NAME = "$(TARGET_NAME)"; |
563 | PROVISIONING_PROFILE_SPECIFIER = ""; | 564 | PROVISIONING_PROFILE_SPECIFIER = ""; |
@@ -96,17 +96,12 @@ class LoginVC: UIViewController { | @@ -96,17 +96,12 @@ class LoginVC: UIViewController { | ||
96 | 96 | ||
97 | @IBAction func skipToHome(_ sender : UIButton) { | 97 | @IBAction func skipToHome(_ sender : UIButton) { |
98 | 98 | ||
99 | - HHSDKOptions.default.mMessageOptions.isByPresent = true | ||
100 | - | ||
101 | - if let vc = HHMSDK.default.chatHomeVC() { | ||
102 | - let nav = UINavigationController(rootViewController: vc) | ||
103 | - nav.modalPresentationStyle = .fullScreen | ||
104 | - self.present(nav, animated: true, completion: nil) | ||
105 | - } | ||
106 | - | ||
107 | - | ||
108 | if HHSDKOptions.default.mMessageOptions.isByPresent { | 99 | if HHSDKOptions.default.mMessageOptions.isByPresent { |
109 | - | 100 | + if let vc = HHMSDK.default.chatHomeVC() { |
101 | + let nav = UINavigationController(rootViewController: vc) | ||
102 | + nav.modalPresentationStyle = .fullScreen | ||
103 | + self.present(nav, animated: true, completion: nil) | ||
104 | + } | ||
110 | }else{ | 105 | }else{ |
111 | HHMSDK.default.skipChatHome() | 106 | HHMSDK.default.skipChatHome() |
112 | } | 107 | } |
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="gh6-uF-nli"> | 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="gh6-uF-nli"> |
3 | <device id="retina4_7" orientation="portrait" appearance="light"/> | 3 | <device id="retina4_7" orientation="portrait" appearance="light"/> |
4 | <dependencies> | 4 | <dependencies> |
5 | <deployment identifier="iOS"/> | 5 | <deployment identifier="iOS"/> |
6 | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/> | 6 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/> |
7 | <capability name="System colors in document resources" minToolsVersion="11.0"/> | 7 | <capability name="System colors in document resources" minToolsVersion="11.0"/> |
8 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | 8 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
9 | </dependencies> | 9 | </dependencies> |
@@ -29,7 +29,7 @@ | @@ -29,7 +29,7 @@ | ||
29 | <color key="textColor" red="0.39215686274509803" green="0.39215686274509803" blue="0.39215686274509803" alpha="1" colorSpace="calibratedRGB"/> | 29 | <color key="textColor" red="0.39215686274509803" green="0.39215686274509803" blue="0.39215686274509803" alpha="1" colorSpace="calibratedRGB"/> |
30 | <nil key="highlightedColor"/> | 30 | <nil key="highlightedColor"/> |
31 | </label> | 31 | </label> |
32 | - <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" text="FA0A5E533F3E828AF2FDBFB3220872163F0D04F68EA2608F6783B874E4F50EEF" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="tXq-br-C4i"> | 32 | + <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" text="69831AA2CD985438D1DB957A1D079FB13F0D04F68EA2608F6783B874E4F50EEF" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="tXq-br-C4i"> |
33 | <rect key="frame" x="141" y="102.5" width="198" height="100"/> | 33 | <rect key="frame" x="141" y="102.5" width="198" height="100"/> |
34 | <color key="backgroundColor" systemColor="systemBackgroundColor"/> | 34 | <color key="backgroundColor" systemColor="systemBackgroundColor"/> |
35 | <constraints> | 35 | <constraints> |
@@ -180,7 +180,7 @@ | @@ -180,7 +180,7 @@ | ||
180 | </viewController> | 180 | </viewController> |
181 | <placeholder placeholderIdentifier="IBFirstResponder" id="v4Z-Mu-IOA" userLabel="First Responder" sceneMemberID="firstResponder"/> | 181 | <placeholder placeholderIdentifier="IBFirstResponder" id="v4Z-Mu-IOA" userLabel="First Responder" sceneMemberID="firstResponder"/> |
182 | </objects> | 182 | </objects> |
183 | - <point key="canvasLocation" x="1276" y="-564.46776611694156"/> | 183 | + <point key="canvasLocation" x="1247" y="-564"/> |
184 | </scene> | 184 | </scene> |
185 | <!--SettingVC--> | 185 | <!--SettingVC--> |
186 | <scene sceneID="pv9-J4-of0"> | 186 | <scene sceneID="pv9-J4-of0"> |
@@ -65,9 +65,9 @@ class SettingVC : UIViewController { | @@ -65,9 +65,9 @@ class SettingVC : UIViewController { | ||
65 | let infoListSetting = ("信息流设置",[ | 65 | let infoListSetting = ("信息流设置",[ |
66 | ("是否过滤总结卡片",HHSDKOptions.default.mMessageOptions.isFilterSummary,true), | 66 | ("是否过滤总结卡片",HHSDKOptions.default.mMessageOptions.isFilterSummary,true), |
67 | ("是否过滤药卡",HHSDKOptions.default.mMessageOptions.isFilterMedicinal,true), | 67 | ("是否过滤药卡",HHSDKOptions.default.mMessageOptions.isFilterMedicinal,true), |
68 | - ("小助手默认头像",false,false), | ||
69 | - ("小助手默认昵称",false,false), | ||
70 | - ("信息流默认标题",false,false), | 68 | +// ("小助手默认头像",false,false), |
69 | +// ("小助手默认昵称",false,false), | ||
70 | +// ("信息流默认标题",false,false), | ||
71 | ("开启定位",false,true), | 71 | ("开启定位",false,true), |
72 | ("是否通过Present弹出信息流",HHSDKOptions.default.mMessageOptions.isByPresent,true), | 72 | ("是否通过Present弹出信息流",HHSDKOptions.default.mMessageOptions.isByPresent,true), |
73 | ]) | 73 | ]) |
@@ -201,22 +201,8 @@ extension SettingVC { | @@ -201,22 +201,8 @@ extension SettingVC { | ||
201 | case (2,1): | 201 | case (2,1): |
202 | HHSDKOptions.default.mMessageOptions.isFilterMedicinal = isOpen | 202 | HHSDKOptions.default.mMessageOptions.isFilterMedicinal = isOpen |
203 | 203 | ||
204 | - case (2,5): | ||
205 | - | ||
206 | -// if isOpen { | ||
207 | -// HHMSDK.default.aliPayHook = {(url,scheme,callback) in | ||
208 | -// let isOk = AlipaySDK.defaultService()?.payInterceptor(withUrl: url, fromScheme: scheme, callback: { (result) in | ||
209 | -// callback(result as? [String : Any] ?? ["test":""]) | ||
210 | -// }) | ||
211 | -// | ||
212 | -// | ||
213 | -// return isOk ?? false | ||
214 | -// } | ||
215 | -// }else{ | ||
216 | -// | ||
217 | -// HHMSDK.default.aliPayHook = nil | ||
218 | -// } | ||
219 | - | 204 | + case (2,2): |
205 | + | ||
220 | if isOpen { | 206 | if isOpen { |
221 | HHLocation.default.startLocation(lng: "116.431941", lat: "39.940199") | 207 | HHLocation.default.startLocation(lng: "116.431941", lat: "39.940199") |
222 | 208 | ||
@@ -225,7 +211,7 @@ extension SettingVC { | @@ -225,7 +211,7 @@ extension SettingVC { | ||
225 | HHLocation.default.closeLocation() | 211 | HHLocation.default.closeLocation() |
226 | } | 212 | } |
227 | 213 | ||
228 | - case (2,6): | 214 | + case (2,3): |
229 | HHSDKOptions.default.mMessageOptions.isByPresent = isOpen | 215 | HHSDKOptions.default.mMessageOptions.isByPresent = isOpen |
230 | 216 | ||
231 | case (3,0): | 217 | case (3,0): |
-
Please register or login to post a comment