Hello,
I'm using UITableViews with cells containing either a UICollectionView or UITableView in them. The cell's height is dependent on the content of the table/collectionView inside it. Think of it like the sections in the Settings app.
This all has been working fine for 2 years now (on iPhone/iPad/Mac running Mac Catalyst), but this week's macOS 12.5 release has caused every cell like this to have some items seemingly missing. However, clicking on a missing item will still have the correct action work, or moving the mouse around/above the missing cells, they will cause the correct content to appear.
Here's a code snippet of a tableView cell with a UITableView in it:
class SettingsCell: UITableViewCell, UITableViewDelegate, UITableViewDataSource {
@IBOutlet weak var contentTable: UITableView!
//Height constant of tableView in cell
@IBOutlet weak var contentTableHeightConstraint: NSLayoutConstraint!
private var _type: SettingType = .unknown
override func awakeFromNib() {
super.awakeFromNib()
contentTable.delegate = self
contentTable.dataSource = self
contentTable.isScrollEnabled = false
contentTable.register(UINib(nibName: "SettingsRowCell", bundle: nil), forCellReuseIdentifier: "SettingsRowCell")
contentTable.estimatedRowHeight = 45.0
contentTable.rowHeight = UITableView.automaticDimension
layoutIfNeeded()
contentTableHeightConstraint.constant = contentTable.contentSize.height
}
//This is called in the cellforRowAt method in the parent table where it chooses which type of settings section to show
func updateWithType(type: SettingType) {
_type = type
contentTable.reloadData()
layoutIfNeeded()
contentTableHeightConstraint.constant = contentTable.contentSize.height
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
if type == .general {
return generalArray.count
} else if type == .notifications {
return notifArray.count
}
return 0
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 45
}
}
The issue seems to steam from a tableView or collectionView being inside a tableViewCell because happens to all my cells like this.
I've been digging through the code for days, and nothing is out of the ordinary. I never hide any of the cell's content in any scenario, so this isn't the normal reusable cell issue where the content needs to be set back to being visible.
Does anyone know of the fix this or has any pointers? Also, these cells work as normal on iPhone/iPad. I've been trying to figure this out for a long time, and any help would be greatly appreciated!
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am extremely worried about my certificates/profiles and need help fixing the issue. I have my app in the Apple app store for iPhone, iPad, and Mac and have sent out multiple updates. I just recently updated my Xcode to Xcode 12 and can no longer send my Mac Catalyst version of the app to Apple's notary service and get these errors:
Cannot create a Mac Catalyst Developer ID provisioning profile for "". The App Groups capability is not available for Mac Catalyst Developer ID provisioning profiles. Disable this feature and try again. Provisioning profile failed qualification Profile doesn't include the selected signing certificate. Provisioning profile failed qualification Profile doesn't support App Groups. Before this point, I had not generated a new Developer ID profile since February and have had App Groups in my app for many months and sent out multiple updates and notaries with it. After tons of research, I saw that it maybe has something to do with my Developer ID Profile so I looked into it on the Apple developer website and saw that the status said invalid. I made a new one, removed the invalid one, and tried the steps of archiving a new build and trying to send it to Apple's notary but ended up getting the same error.
I have done more research and stumble upon https://developer.apple.com/support/certificates/ and saw that removing a profile may cause me to not update my current apps in the app store. Did I remove my entire access to update my apps???
I still can not figure out the notary issue and am now extremely worried that I have messed up my chances of updating my app again. Can you please help me with both issues?
I have a Mac update I would like to send out to the App Store as soon as possible but want to know if it's safe before sending it to users.
Yesterday, I updated to Xcode 13 via the App Store. I'm trying to send an archive of my app to App Store Connect through the usual way in the "Organizer" window, and once the archive is submitted, I get the warning message:
App Store Connect Operation Warning
Your version of iTMSTransporter will be updated in approximately 10 days.
I've never seen this before and have no idea what it means. The archive still shows in Testflight later and is useable, but I am not sure if it's safe to update the App Store version of my app with this archive build when it was uploaded with warnings.
What is this warning, and how can I fix this?
I also get this email about alternative icon errors after App Store Connect upload. I have alternative app icons enabled in the app and know for sure that I have 120x120 on iPhone, so I'm not sure why this is happening:
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Xcode
Signing Certificates
Organizer Window
App Submission
Hello,
Right when iPadOS 15 is released in the Fall, I'll want to support the new large widget and a few of the other iPadOS 15 specific features.
I'm working on them now in the Xcode 13 Beta, but to give these features out to users on launch day, can I update my app now with these features from the Xcode 13 Beta? Or would I need to wait until Xcode 13 is public?
Sorry if this question seems simple. This is my first time launching on the new update's release day, so I am unsure if I can submit those new features now or wait until launch day.
Please let me know!
P.S. My app is multi-platform (iOS, iPadOS, and macOS). Would submitting early from an Xcode beta potentially mess up the other platforms?
Hello,
I am filling out the App Store contact page to inform the App Store reviewers of a significant app update coming to your app to be possibly showcased in the App Store.
My significant update is a new Apple Watch companion app. Under the "Supports Apple Watch" question, should I select "Yes" or "In future release"?
It's unclear if the question refers to the version in the App Store or in the upcoming version I'm writing about. It'd be great if anyone can add clarity, and thank you in advance!