Post

Replies

Boosts

Views

Activity

make search bar appear as bottom toolbar button on iPad? (UIKit)
In UIKit, I really like the layout convention on iPhone where the search bar appears as a button in the toolbar at the bottom of the screen, and the user can tap it to see the actual search bar, also at the bottom. viewController.navigationItem.searchBarPlacementAllowsToolbarIntegration = true viewController.navigationItem.preferredSearchBarPlacement = .integratedButton let spacer = UIBarButtonItem.flexibleSpace() let searchbarPlacer = viewController.navigationItem.searchBarPlacementBarButtonItem viewController.toolbarItems = [spacer, searchbarPlacer]However, on iPad I'm having trouble getting the same effect; the search button wants to appear at the top, in the navigation bar, even though I'm specifically asking it to appear at the bottom, in the toolbar. How do I get the same layout on iPad?
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
48
2d
is UIRequiresFullScreen deprecated or not?
The information coming from Apple is very confusing. https://developer.apple.com/documentation/technotes/tn3192-Migrating-your-app-from-the-deprecated-UIRequiresFullScreen-key says two opposite things: (1) "Starting in iPadOS 26, UIRequiresFullScreen and its associated compatibility mode are deprecated" and you should migrate away. (2) "Starting in iOS 27 and iPadOS 27, UIRequiresFullScreen no longer opts your app out of resizing on either platform. Instead, the system resizes your app’s scene discretely. This behavior applies when you build your app with the iOS 27 SDK or later and set UIRequiresFullScreen to YES" The thing is that (2) implies that UIRequiresFullScreen is legal and in fact is supposed to have a well-defined new behavior, "discrete resizing". I have not been able to detect any evidence of this "discrete resizing" and I don't understand what it is. But the important thing is (2) makes it sound legal but (1) makes it sound illegal. What's true?
3
0
78
1w
ITMS-90078 bogosity
So I submitted my app for TestFlight external testing and got this email: ITMS-90078: Missing potentially required entitlement - Your app, or a library that’s included in your app, uses Apple Push Notification service (APNs) registration APIs, but the APS Environment Entitlement isn’t included in the app signature’s entitlements. If your app uses APNs, make sure the App ID is enabled for push notifications in Certificates, Identifiers & Profiles, sign the app with a distribution provisioning profile that includes the APS Environment Entitlement, and upload a new build to ensure that push notifications function as intended. For details, visit: https://developer.apple.com/documentation/usernotifications/registering-your-app-with-apns. But here's the thing: everything this says is 100% bogus. My app uses no libraries and no push notification service registration APIs. The term register is used in my app, because I use table view cell registrations. Could that be the cause of this bogus warning?
17
4
742
Apr ’25
manage sandbox account clear purchase history not working?
I would like to know whether and how people are getting the sandbox account > manage > clear purchase history feature to work. I clear purchase history (either on my device or at app store connect), and I delete my app from my device. I then run my app from Xcode on my device, and it detects at launch the existence of the purchase, and so I cannot test my purchase user interface. Does this thing actually work as advertised?
7
11
1.3k
Apr ’25
Can't submit to TestFlight due to RC releases out of sync
When I try to submit to TestFlight, I'm told: "Unsupported SDK or Xcode version ... You need to use the latest Release Candidates for SDKs and Xcode." I am using the latest Xcode RC, Version 16.3 (16E137). But my guess is that I am not being given, in conjunction with this, the latest iOS 18.4 RC. I need 22E239 but I'm unable to download and install it thru Xcode. What I'm being given is SDK version 18.4 (22E235).
3
0
151
Mar ’25
Xcode beta documentation broken?
Is anyone else having trouble with the Documentation in the latest Xcode beta? I can't get any UIKit documentation to appear. UIKit is completely missing from the table of contents too. I've tried deleting the documentation caches but it isn't helping.
5
0
179
Mar ’25
What changed the navigation bar bounds size to something unexpected during the animation if it wasn't a showsScopeBar change?
In my UIKit app, I'm getting this log message in the Xcode console: "What changed the navigation bar bounds size to something unexpected during the animation if it wasn't a showsScopeBar change?" I could answer this question, but to whom should I be answering? Does this mean that Apple is interested in hearing about situations where this can legitimately occur?
Topic: UI Frameworks SubTopic: UIKit
3
0
405
Mar ’25
WWDC 2016 video 216 sample code?
Where is the sample code example for WWDC 2016 video 216 (on advances in UIKit view animation)? Should be called something like Photos and should have an example of an animation that can be interrupted, scrubbed, and restarted.
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
1.2k
Jan ’22
make search bar appear as bottom toolbar button on iPad? (UIKit)
In UIKit, I really like the layout convention on iPhone where the search bar appears as a button in the toolbar at the bottom of the screen, and the user can tap it to see the actual search bar, also at the bottom. viewController.navigationItem.searchBarPlacementAllowsToolbarIntegration = true viewController.navigationItem.preferredSearchBarPlacement = .integratedButton let spacer = UIBarButtonItem.flexibleSpace() let searchbarPlacer = viewController.navigationItem.searchBarPlacementBarButtonItem viewController.toolbarItems = [spacer, searchbarPlacer]However, on iPad I'm having trouble getting the same effect; the search button wants to appear at the top, in the navigation bar, even though I'm specifically asking it to appear at the bottom, in the toolbar. How do I get the same layout on iPad?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
48
Activity
2d
is UIRequiresFullScreen deprecated or not?
The information coming from Apple is very confusing. https://developer.apple.com/documentation/technotes/tn3192-Migrating-your-app-from-the-deprecated-UIRequiresFullScreen-key says two opposite things: (1) "Starting in iPadOS 26, UIRequiresFullScreen and its associated compatibility mode are deprecated" and you should migrate away. (2) "Starting in iOS 27 and iPadOS 27, UIRequiresFullScreen no longer opts your app out of resizing on either platform. Instead, the system resizes your app’s scene discretely. This behavior applies when you build your app with the iOS 27 SDK or later and set UIRequiresFullScreen to YES" The thing is that (2) implies that UIRequiresFullScreen is legal and in fact is supposed to have a well-defined new behavior, "discrete resizing". I have not been able to detect any evidence of this "discrete resizing" and I don't understand what it is. But the important thing is (2) makes it sound legal but (1) makes it sound illegal. What's true?
Replies
3
Boosts
0
Views
78
Activity
1w
ITMS-90078 bogosity
So I submitted my app for TestFlight external testing and got this email: ITMS-90078: Missing potentially required entitlement - Your app, or a library that’s included in your app, uses Apple Push Notification service (APNs) registration APIs, but the APS Environment Entitlement isn’t included in the app signature’s entitlements. If your app uses APNs, make sure the App ID is enabled for push notifications in Certificates, Identifiers & Profiles, sign the app with a distribution provisioning profile that includes the APS Environment Entitlement, and upload a new build to ensure that push notifications function as intended. For details, visit: https://developer.apple.com/documentation/usernotifications/registering-your-app-with-apns. But here's the thing: everything this says is 100% bogus. My app uses no libraries and no push notification service registration APIs. The term register is used in my app, because I use table view cell registrations. Could that be the cause of this bogus warning?
Replies
17
Boosts
4
Views
742
Activity
Apr ’25
manage sandbox account clear purchase history not working?
I would like to know whether and how people are getting the sandbox account > manage > clear purchase history feature to work. I clear purchase history (either on my device or at app store connect), and I delete my app from my device. I then run my app from Xcode on my device, and it detects at launch the existence of the purchase, and so I cannot test my purchase user interface. Does this thing actually work as advertised?
Replies
7
Boosts
11
Views
1.3k
Activity
Apr ’25
Can't submit to TestFlight due to RC releases out of sync
When I try to submit to TestFlight, I'm told: "Unsupported SDK or Xcode version ... You need to use the latest Release Candidates for SDKs and Xcode." I am using the latest Xcode RC, Version 16.3 (16E137). But my guess is that I am not being given, in conjunction with this, the latest iOS 18.4 RC. I need 22E239 but I'm unable to download and install it thru Xcode. What I'm being given is SDK version 18.4 (22E235).
Replies
3
Boosts
0
Views
151
Activity
Mar ’25
Xcode beta documentation broken?
Is anyone else having trouble with the Documentation in the latest Xcode beta? I can't get any UIKit documentation to appear. UIKit is completely missing from the table of contents too. I've tried deleting the documentation caches but it isn't helping.
Replies
5
Boosts
0
Views
179
Activity
Mar ’25
What changed the navigation bar bounds size to something unexpected during the animation if it wasn't a showsScopeBar change?
In my UIKit app, I'm getting this log message in the Xcode console: "What changed the navigation bar bounds size to something unexpected during the animation if it wasn't a showsScopeBar change?" I could answer this question, but to whom should I be answering? Does this mean that Apple is interested in hearing about situations where this can legitimately occur?
Topic: UI Frameworks SubTopic: UIKit
Replies
3
Boosts
0
Views
405
Activity
Mar ’25
WWDC 2016 video 216 sample code?
Where is the sample code example for WWDC 2016 video 216 (on advances in UIKit view animation)? Should be called something like Photos and should have an example of an animation that can be interrupted, scrubbed, and restarted.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
2
Boosts
0
Views
1.2k
Activity
Jan ’22