Post

Replies

Boosts

Views

Activity

Reply to Crash in iOS18
I've the same problem, but as far I can see I don't dequeue twice. Can someone help me out here? func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "NieuwsCollectionViewControllerCell", for: indexPath) as! NieuwsCollectionViewCell let feedRow = MyNewsLoader.shared.returnNews()[indexPath.row] let feedTitle = feedRow.title let feedDescription = feedRow.description?.trimHTMLTags() let feedLink = feedRow.link cell.feedTitle?.text = feedTitle cell.feedDescription?.text = feedDescription return cell } What going wrong here?
Topic: UI Frameworks SubTopic: UIKit
Sep ’24
Reply to MPRemoteCommandCenter - Remote controls on lock screen does not show up
You need to set the buttons on or off: commandCenter.skipBackwardCommand.isEnabled = false commandCenter.skipForwardCommand.isEnabled = false commandCenter.playCommand.isEnabled = true commandCenter.pauseCommand.isEnabled = true commandCenter.previousTrackCommand.isEnabled = true commandCenter.nextTrackCommand.isEnabled = true commandCenter.stopCommand.isEnabled = true I hope this example helps you out ;)
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’22
Reply to app rejected with "Guideline 5.2.3 - Legal"
Did you solve the issue? I had the same problem in my radio-app. I added a customer written statement in AppStore Connect: Hello iTunes Connect Team,  This is to state that [Customer Name] has authorized [Your Name] from [Your Company Name] for its Mobile Application development and deployment.  [Your Name] from [Your Company Name] have all the rights to publish the app under the name of [Product Name].  Our registration at Buma/Stemra is: [number] and at Sena is: [number]  Please treat this document as a proof which indicates our rights.  Thank you for your anticipation.  Name: [Customer Name] Autograph: ***
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’22
Reply to AirPlay from iOS to tvOS shows black screen
Sorry, didn't see your respons. It works oke now. I think it was a bug in iOS. In the meantime I added some properties to the nowPlayingInfo: audioInfo.nowPlayingInfo = [MPMediaItemPropertyTitle: artist!, MPMediaItemPropertyArtist: title!, MPMediaItemPropertyAlbumTitle: radioName, MPMediaItemPropertyMediaType: MPNowPlayingInfoMediaType.audio.rawValue, MPMediaItemPropertyAssetURL: radioURL!, MPMediaItemPropertyArtwork: radioArtwork, MPNowPlayingInfoPropertyIsLiveStream: true, MPNowPlayingInfoPropertyPlaybackRate: 1.0]
Topic: App & System Services SubTopic: General Tags:
Jul ’22
Reply to UserDefaults.didChangeNotification not firing
Find a solution: userDefaults.addObserver(self, forKeyPath: "youKey", options: .new, context: nil) And: override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) { //do something }
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to UserDefaults.didChangeNotification not firing
Can you post an example how to do this? Thx ;)
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Crash in iOS18
I've the same problem, but as far I can see I don't dequeue twice. Can someone help me out here? func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "NieuwsCollectionViewControllerCell", for: indexPath) as! NieuwsCollectionViewCell let feedRow = MyNewsLoader.shared.returnNews()[indexPath.row] let feedTitle = feedRow.title let feedDescription = feedRow.description?.trimHTMLTags() let feedLink = feedRow.link cell.feedTitle?.text = feedTitle cell.feedDescription?.text = feedDescription return cell } What going wrong here?
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Sep ’24
Reply to macOS Widgets won't launch with app group set
Any news on this? Just updated my mac to and encounter the same problems: widgets arent updated fi.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Upgrade from xCode 14.2 to 14.3 PhaseScriptExecution failed with a nonzero exit code
Thx @vadimwe ... you helped me out here ;)
Replies
Boosts
Views
Activity
May ’23
Reply to AirPlay with AVPlayer/MPNowPlayingInfoCenter doesn't show album art on device
I got the same error suddenly in my radio-app. The artwork is shown normally. Never saw this error before. Suddenly the artwork on the AppleWatch-app isn't shown anymore maybe because of this entitlement? Anyone any idea?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to Testflight "Beta Has Expired" message when it has not expired
Same problem here :(
Replies
Boosts
Views
Activity
Dec ’22
Reply to AVPlayer.metadata not working on iOS 16 beta 1/2
tvOS beta 5 shows the metadata again :)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to MPRemoteCommandCenter - Remote controls on lock screen does not show up
You need to set the buttons on or off: commandCenter.skipBackwardCommand.isEnabled = false commandCenter.skipForwardCommand.isEnabled = false commandCenter.playCommand.isEnabled = true commandCenter.pauseCommand.isEnabled = true commandCenter.previousTrackCommand.isEnabled = true commandCenter.nextTrackCommand.isEnabled = true commandCenter.stopCommand.isEnabled = true I hope this example helps you out ;)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to AVPlayer fail to play audio with error - The operation could not be completed -1180
I don't know wat 1180 means, but a possible problem could be that if you use a https-stream which is redirected to http the stream is block due to security reasons. When you allow arbitrary downloads the stream will play.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to app rejected with "Guideline 5.2.3 - Legal"
Did you solve the issue? I had the same problem in my radio-app. I added a customer written statement in AppStore Connect: Hello iTunes Connect Team,  This is to state that [Customer Name] has authorized [Your Name] from [Your Company Name] for its Mobile Application development and deployment.  [Your Name] from [Your Company Name] have all the rights to publish the app under the name of [Product Name].  Our registration at Buma/Stemra is: [number] and at Sena is: [number]  Please treat this document as a proof which indicates our rights.  Thank you for your anticipation.  Name: [Customer Name] Autograph: ***
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to AirPlay from iOS to tvOS shows black screen
Sorry, didn't see your respons. It works oke now. I think it was a bug in iOS. In the meantime I added some properties to the nowPlayingInfo: audioInfo.nowPlayingInfo = [MPMediaItemPropertyTitle: artist!, MPMediaItemPropertyArtist: title!, MPMediaItemPropertyAlbumTitle: radioName, MPMediaItemPropertyMediaType: MPNowPlayingInfoMediaType.audio.rawValue, MPMediaItemPropertyAssetURL: radioURL!, MPMediaItemPropertyArtwork: radioArtwork, MPNowPlayingInfoPropertyIsLiveStream: true, MPNowPlayingInfoPropertyPlaybackRate: 1.0]
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to How long does the submission review take recently?
It varies: a day or sometimes a week for updates on publiced apps. For new apps it could take longer. Most of the time I got a request for additional information.
Replies
Boosts
Views
Activity
Jun ’22