Permalink
Browse files

Preparation for upgrade, running ok on iPhone X real

  • Loading branch information...
ysnrkdm committed Oct 1, 2018
1 parent 9ceb4bd commit 07cedc7e98cc548f051f76bd25c16ee4cc8be689
Showing with 8 additions and 10 deletions.
  1. +0 −2 FlatReversi.xcodeproj/project.pbxproj
  2. +8 −8 FlatReversi/GameViewController.swift
@@ -55,7 +55,6 @@
8BA555371DCAE90600EC3CCA /* Graphene.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B54AB301DC62ED1006A222F /* Graphene.framework */; };
8BA555381DCAE90600EC3CCA /* Graphene.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8B54AB301DC62ED1006A222F /* Graphene.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
8BF2C4AB1A4D860000F22AB4 /* AppearanceManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8BF2C4AA1A4D860000F22AB4 /* AppearanceManager.swift */; };
8BF717FD1D901CD400D46ED8 /* GoogleMobileAds.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8BF717FC1D901CD400D46ED8 /* GoogleMobileAds.framework */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -146,7 +145,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
8BF717FD1D901CD400D46ED8 /* GoogleMobileAds.framework in Frameworks */,
8B22E26E19FD3A0A0006E39C /* Security.framework in Frameworks */,
8B22E20519FD35F30006E39C /* SystemConfiguration.framework in Frameworks */,
8B22E20319FD35ED0006E39C /* StoreKit.framework in Frameworks */,
@@ -8,7 +8,7 @@
import UIKit
import SpriteKit
import GoogleMobileAds
//import GoogleMobileAds
extension SKNode {
class func unarchiveFromFile(_ file : NSString) -> SKNode? {
@@ -37,7 +37,7 @@ class GameViewController: UIViewController, UINavigationBarDelegate {
var currentScene: SKScene? = nil
@IBOutlet weak var bannerView: GADBannerView!
@IBOutlet weak var bannerView: UIView!
override func viewDidLoad() {
super.viewDidLoad()
@@ -81,12 +81,12 @@ class GameViewController: UIViewController, UINavigationBarDelegate {
gs.resetAndSave()
}
// Ad
if let uBannerView = bannerView {
uBannerView.adUnitID = "ca-app-pub-4004659206753296/7384819767"
uBannerView.rootViewController = self
uBannerView.load(GADRequest())
}
// // Ad
// if let uBannerView = bannerView {
// uBannerView.adUnitID = "ca-app-pub-4004659206753296/7384819767"
// uBannerView.rootViewController = self
// uBannerView.load(GADRequest())
// }
}
func position(for bar: UIBarPositioning) -> UIBarPosition {

0 comments on commit 07cedc7

Please sign in to comment.