- games url updated
This commit is contained in:
@@ -52,6 +52,17 @@ class GamesListVC: UIViewController {
|
||||
vm.updateTableHeight()
|
||||
}
|
||||
|
||||
@IBAction func gameBtnTapped(_ sender: LocalisedElementsButton) {
|
||||
let sb = UIStoryboard(name: K.StoryBoard.Games, bundle: nil)
|
||||
let vcPush = sb.instantiateViewController(withIdentifier: K.StoryBoardID.Games.gamesWebViewVC) as! GamesWebViewVC
|
||||
//https://wokastaging.in/wokagames/Games/html/WokaLudo/index.php
|
||||
let gameData = vm.gameData[vm.indexToLoad]
|
||||
vcPush.url = gameData.gameURL
|
||||
vcPush.orientation = gameData.screenOrientation
|
||||
vcPush.modalTransitionStyle = .crossDissolve
|
||||
vcPush.modalPresentationStyle = .fullScreen
|
||||
self.present(vcPush, animated: true)
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - TableView DataSource , Delegates
|
||||
|
||||
@@ -80,6 +80,9 @@
|
||||
<integer key="value" value="25"/>
|
||||
</userDefinedRuntimeAttribute>
|
||||
</userDefinedRuntimeAttributes>
|
||||
<connections>
|
||||
<action selector="gameBtnTapped:" destination="Y6W-OH-hqX" eventType="touchUpInside" id="fe5-xJ-Uwd"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
</stackView>
|
||||
|
||||
Reference in New Issue
Block a user