Hendi 2 gadi atpakaļ
vecāks
revīzija
1e522863e9

BIN
Sirani.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate


+ 3 - 3
Sirani/ApiServices/SiraniApiServices.swift

@@ -654,13 +654,13 @@ class SiraniApiServices {
     
     func postToGetFaqCategory() -> DataRequest {
         let headers: HTTPHeaders = ["Accept" : "Application/json; charset=utf-8"]
-            
-        return AF.request(METHOD_GET_FAQ_CATEGORY, method: .get, encoding: URLEncoding.default, headers: headers)
+        
+        return AF.request(METHOD_GET_FAQ_CATEGORY_NEW, method: .get, encoding: URLEncoding.default, headers: headers)
     }
     
     func postToGetFaqContent(faq_cat_id: Int) -> DataRequest {
         let headers: HTTPHeaders = ["Accept" : "Application/json; charset=utf-8"]
-        let url = "\(METHOD_GET_FAQ_CONTENT)/\(faq_cat_id)"
+        let url = "\(METHOD_GET_FAQ_CONTENT_NEW)/\(faq_cat_id)"
         
         return AF.request(url, method: .get, encoding: URLEncoding.default, headers: headers)
     }

+ 4 - 0
Sirani/ApiServices/UriConstants.swift

@@ -118,6 +118,10 @@ let METHOD_GET_BALAI_UJI_NEW = "\(HOST_API_NEW)\(API)\(VERSION)balaiuji"
 // SLIDER
 let METHOD_GET_SLIDE_IMAGE_NEW = "\(HOST_API_NEW)\(API)\(VERSION)Flashslide"
 
+// FAQ
+let METHOD_GET_FAQ_CATEGORY_NEW = "\(HOST_API_NEW)\(API)\(VERSION)faq/category"
+let METHOD_GET_FAQ_CONTENT_NEW = "\(HOST_API_NEW)\(API)\(VERSION)faq/content"
+
 // INFORMASI SERTIFIKAT
 let URI_PERSYARATAN_KEWAJIBAN = "https://sertifikasi.postel.go.id/sertifikasi/informasi-sertifikasi/persyaratan-dan-kewajiban?plain=true"
 let URI_PROSEDUR_SERTIFIKASI = "https://sertifikasi.postel.go.id/sertifikasi/informasi-sertifikasi/prosedur-sertifikasi?plain=true"

+ 14 - 14
Sirani/Base.lproj/Main.storyboard

@@ -145,11 +145,11 @@
             <objects>
                 <viewController id="wLH-bE-PwM" customClass="QRScannerVC" customModule="Sirani" customModuleProvider="target" sceneMemberID="viewController">
                     <view key="view" contentMode="scaleToFill" id="uam-Zl-gDj">
-                        <rect key="frame" x="0.0" y="0.0" width="375" height="647"/>
+                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CDW-iG-Sob" userLabel="ScannerView">
-                                <rect key="frame" x="0.0" y="0.0" width="375" height="647"/>
+                                <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                                 <subviews>
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="diW-Vz-xdt" userLabel="overlayTop">
                                         <rect key="frame" x="0.0" y="0.0" width="375" height="60"/>
@@ -159,21 +159,21 @@
                                         </constraints>
                                     </view>
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vUU-E4-f66" userLabel="overlayLeft">
-                                        <rect key="frame" x="0.0" y="60" width="30" height="427"/>
+                                        <rect key="frame" x="0.0" y="60" width="30" height="447"/>
                                         <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
                                         <constraints>
                                             <constraint firstAttribute="width" constant="30" id="s6S-lY-hA9"/>
                                         </constraints>
                                     </view>
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XCg-Ma-IVZ" userLabel="overlayBtm">
-                                        <rect key="frame" x="0.0" y="487" width="375" height="160"/>
+                                        <rect key="frame" x="0.0" y="507" width="375" height="160"/>
                                         <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
                                         <constraints>
                                             <constraint firstAttribute="height" constant="160" id="vmI-VX-8FM"/>
                                         </constraints>
                                     </view>
                                     <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Nb4-Tc-Xkd">
-                                        <rect key="frame" x="30" y="547" width="315" height="40"/>
+                                        <rect key="frame" x="30" y="567" width="315" height="40"/>
                                         <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                         <constraints>
                                             <constraint firstAttribute="height" constant="40" id="VeV-fd-5sK"/>
@@ -188,7 +188,7 @@
                                         </connections>
                                     </button>
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="25n-Wm-R8z" userLabel="overlayRight">
-                                        <rect key="frame" x="345" y="60" width="30" height="427"/>
+                                        <rect key="frame" x="345" y="60" width="30" height="447"/>
                                         <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
                                         <constraints>
                                             <constraint firstAttribute="width" constant="30" id="fR1-Kc-rET"/>
@@ -215,7 +215,7 @@
                                 </constraints>
                             </view>
                             <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0N2-eN-vbJ" userLabel="ResultLayout">
-                                <rect key="frame" x="0.0" y="0.0" width="375" height="647"/>
+                                <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                                 <subviews>
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ghd-Kv-OTW" userLabel="ResultHeader">
                                         <rect key="frame" x="0.0" y="0.0" width="375" height="100"/>
@@ -295,7 +295,7 @@
                                         </constraints>
                                     </view>
                                     <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ewk-92-S4r" userLabel="ResultScrollView">
-                                        <rect key="frame" x="0.0" y="156" width="375" height="461"/>
+                                        <rect key="frame" x="0.0" y="156" width="375" height="481"/>
                                         <subviews>
                                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PMN-7G-GEI" userLabel="ResultContainerView">
                                                 <rect key="frame" x="0.0" y="0.0" width="375" height="2114"/>
@@ -874,7 +874,7 @@
                                         </constraints>
                                     </scrollView>
                                     <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ditjen SDPPI Kominfo @ 2023" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SS9-Ch-aZY" userLabel="ResultFooter">
-                                        <rect key="frame" x="0.0" y="617" width="375" height="30"/>
+                                        <rect key="frame" x="0.0" y="637" width="375" height="30"/>
                                         <color key="backgroundColor" red="0.1056468859" green="0.26498940589999997" blue="0.5374458432" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
                                         <constraints>
                                             <constraint firstAttribute="height" constant="30" id="266-Ir-7nP"/>
@@ -884,10 +884,10 @@
                                         <nil key="highlightedColor"/>
                                     </label>
                                     <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rbc-oF-1g6" userLabel="ResultLoading">
-                                        <rect key="frame" x="0.0" y="156" width="375" height="461"/>
+                                        <rect key="frame" x="0.0" y="156" width="375" height="481"/>
                                         <subviews>
                                             <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" hidesWhenStopped="YES" animating="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="WCF-0e-Nwn">
-                                                <rect key="frame" x="169" y="212" width="37" height="37"/>
+                                                <rect key="frame" x="169" y="222" width="37" height="37"/>
                                                 <color key="color" red="0.1396022327" green="0.32877562980000002" blue="0.67986595809999995" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
                                             </activityIndicatorView>
                                         </subviews>
@@ -25608,7 +25608,7 @@
     <inferredMetricsTieBreakers>
         <segue reference="pgo-8x-SnY"/>
         <segue reference="6xD-yH-Auw"/>
-        <segue reference="lWp-qC-755"/>
+        <segue reference="VWb-QP-6FN"/>
     </inferredMetricsTieBreakers>
     <resources>
         <image name="calendar.badge.clock" catalog="system" width="128" height="109"/>
@@ -25647,10 +25647,10 @@
             <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
         </systemColor>
         <systemColor name="systemGreenColor">
-            <color red="0.20392156859999999" green="0.78039215689999997" blue="0.34901960780000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+            <color red="0.20392156862745098" green="0.7803921568627451" blue="0.34901960784313724" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
         </systemColor>
         <systemColor name="systemOrangeColor">
-            <color red="1" green="0.58431372550000005" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+            <color red="1" green="0.58431372549019611" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
         </systemColor>
     </resources>
 </document>