Posts

Post not yet marked as solved
2 Replies
0 Views
Multi-page layout not supported in TextKit2. See the discussion here: https://developer.apple.com/forums/thread/682251 At WWDC, a frameworks engineer indicated they were looking into it, but there has been no update and the requested Feedback (FB9285387) is still open (Nov 4th) with no recent similar reports. Please file a dupe of FB9285387 if this is important to you. -Steve
Post not yet marked as solved
14 Replies
0 Views
The b7 release notes give another workaround: In Xcode select Product > Scheme > Edit Scheme…, then deselect Run > Options > Queue Debugging > “Enable backtrace recording.” Works for me. -Steve
Post not yet marked as solved
14 Replies
0 Views
Workaround: Run the Simulator on an Intel Mac.
Post not yet marked as solved
14 Replies
0 Views
Seeing this too, even on WWDC sample code. Running on macOS 11.5.1 on an M1 mac.
Post not yet marked as solved
7 Replies
0 Views
Same crash here. 11.5.1 on an M1 Mac. Xcode b3, b4, and b5.
Post marked as solved
2 Replies
0 Views
For those keys, you probably need to set wantsPriorityOverSystemBehavior to YES.
Post not yet marked as solved
7 Replies
0 Views
Seeing the same thing on macOS 11, most recently with Xcode 12.2 rc: restoreCompletedTransactions finishes with no transactions. Other functions work fine. Steve
Post not yet marked as solved
7 Replies
0 Views
Same here. macOS 11 beta 10, Xcode 12.2 beta 3. Xcode purchases complete and are visible in Debug > StoreKit > Manage Transactions, but the receipt is never updated. Calls to [[SKReceiptRefreshRequest alloc] initWithReceiptProperties:nil] result in an Apple ID login request. I do notice the following in system.log: Oct 15 17:30:32 Steves-MacBook-Pro appstoreagent[814]: objc[814]: Class asn1ReceiptToken is implemented in both /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore (0x7fff88733ef0) and /System/Library/PrivateFrameworks/CoreFP.framework/Versions/A/CoreFP (0x10b7cfd90). One of the two will be used. Which one is undefined. Oct 15 17:30:32 Steves-MacBook-Pro appstoreagent[814]: objc[814]: Class ISPurchaseReceipt is implemented in both /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore (0x7fff88733e78) and /System/Library/PrivateFrameworks/CoreFP.framework/Versions/A/CoreFP (0x10b7cfde0). One of the two will be used. Which one is undefined.
Post not yet marked as solved
4 Replies
0 Views
Stumbled across this 3-year-old post looking for something else. My app (Storyist) uses a UISplitViewController to display a document selected from UIDocumentBrowserViewController on both iPad and iPhone since iOS 12. The only issue is that navigation bar icons are not automatically dimmed when popovers are presented. Steve
Post not yet marked as solved
3 Replies
0 Views
According to @smileyborg on Twitter, this is a recently-introduced bug with 3-column split view controllers. The work-around is to create a new UIListContentConfiguration instead of using the cell's defaultContentConfiguration. UICollectionViewCellRegistration *cellRegistration = [UICollectionViewCellRegistration registrationWithCellClass:[UICollectionViewListCell class] configurationHandler:^(__kindof UICollectionViewListCell * _Nonnull cell, NSIndexPath * _Nonnull indexPath, id _Nonnull item) {     // Populate the cell with our item description. 		// UIListContentConfiguration *contentConfiguration = [cell defaultContentConfiguration];     UIListContentConfiguration *contentConfiguration = [UIListContentConfiguration sidebarCellConfiguration];     // ... Configure the configuration     cell.contentConfiguration = contentConfiguration;     cell.backgroundConfiguration = UIBackgroundConfiguration.clearConfiguration; }];
Post not yet marked as solved
5 Replies
0 Views
Replied In Present UIMenu
smartgo, You can just set the menu property of the UIBarButtonItem instead.
Post marked as solved
2 Replies
0 Views
One approach: You can keep a reference to the UIBarButtonItem, regenerate the menu when the state changes and assign it to the bar button item menu property. I was thinking you could keep a reference to the UIAction instead and modify the title or state properties, but UIMenu appears to cache these values, so the changes are not reflected in the menu. Steve
Post not yet marked as solved
2 Replies
0 Views
Thanks. The Feedback Assistant id is in the original post. FB7781503 Steve