Thank you Jerome Oilvier
I spent hours to figure out why result side bar had shown nothing...
At last the reason not working is because I should skip the "" in text book p16....
By the way, if anyone like me is the first time to use playground,
WAIT until playground finish running the code.
Yes, it is really loading....
Post
Replies
Boosts
Views
Activity
I am working on the Apple Pie Project now,
I followed the code on the book and so far it works well, (except the .character method can not be used)
but at the last step I found an issue which X code said:
Value of type 'UIButton' has no member 'isEnable'
on this code block:
for button in letterButtons {
button.isEnable = enable
}
any one has also faced this issue?
I have make sure I am using Outlet not Action
@IBOutlet weak var correctWordLabel: UILabel!
@IBOutlet weak var scoreLabel: UILabel!
@IBOutlet var letterButtons: [UIButton]!
@IBAction func buttonPressed(_ sender: UIButton) {
sender.isEnabled = false
let letterString = sender.title(for: .normal)!
let letter = Character(letterString.lowercased())
currentGame.playerGuessed(letter: letter)
updateGameState()
}
I found the answer of my question.. (but I can't edit or delete my question....)
"isEnabled" , not "isEnable"
I am facing the same issue, and my apple data and record type can not sync to cloudkit dashboard
Did you solve the issue at last?
There are 15.6 device support file in some github.
You may try to search and download a 15.6 device support file and paste it to Xcode > Contents > Developer > Platforms > iPhoneOS.platform > DeviceSupport
I found the solution..... DEPLOY TO A REAL IPHONE, don't do it on simulator.....
everything works fine then.
AVSpeechSynthesisVoice works on iPadOS 16 physical device, work on iOS16 simulator, but not work on iOS16.0.3 (require to select in iPhone > Settings > Accessibility > Spoken Content > Voices ; it will override no matter what voice you choose)