UIBarButtonItem setting isEnabled = false, but the item is still tappable and animating. Is this a new UI behavior or an issue?
Do the following steps:
On tapping on a UIBarButtonItem, disable by setting isEnabled = false and setting hidesSharedBackground = true
Enable the button by setting isEnabled = true and setting hidesSharedBackground = false
=> The button appears with bigger shared background
is this an issue?
please find the attachments for more details.
ViewController.swift.txt
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Weird UI appears at the first segment while dragging the selection item
Topic:
UI Frameworks
SubTopic:
UIKit
Using Xcode 26 Beta 3 on MacOS 26 Beta 3, I cannot see any Rosetta Simulators even though I've turned on:
Xcode
Product -> Destination -> Show All Run Destinations
I suspected that there has been an issue with showing them on Xcode, then I used Terminal to verify:
First I tried to run/build unit tests with an ARM64 simulator, of course, I got a failed result - Because my project hasn't fully supported ARM64 yet.
xcodebuild test \
-scheme MyScheme \
-project MyProject.xcodeproj \
-destination "platform=iOS Simulator,name=iPhone 16,arch=arm64"
Output:
Undefined symbol: _OBJC_CLASS_$_MTAmiVoice
Then I tried with a Rosetta simulator:
xcodebuild test \
-scheme MyScheme \
-project MyProject.xcodeproj \
-destination "platform=iOS Simulator,name=iPhone 16,arch=x86_64"
Output:
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ platform:iOS Simulator, arch:x86_64, OS:latest, name:iPhone 16 }
Available destinations for the "MyScheme" scheme:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:14975ac530130e6513017194c34d61ec91d18706, name:My Mac }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, arch:arm64, id:ADD3BC9A-B3C5-4A60-9BC0-AE5C0CC5AB74, OS:26.0, name:iPad (A16) }
{ platform:iOS Simulator, arch:arm64, id:2CA6EE27-BDC0-4A01-9ADF-418F3C967EED, OS:26.0, name:iPad Air 11-inch (M3) }
{ platform:iOS Simulator, arch:arm64, id:73F383A0-FBA9-4EE8-95F1-C337B936A5F2, OS:26.0, name:iPad Air 13-inch (M3) }
{ platform:iOS Simulator, arch:arm64, id:3A0EE8B8-6F69-455D-B69A-8F2A834608D3, OS:26.0, name:iPad Pro 11-inch (M4) }
{ platform:iOS Simulator, arch:arm64, id:61358EB9-A87E-45F9-80EB-CA17D2289C54, OS:26.0, name:iPad Pro 13-inch (M4) }
{ platform:iOS Simulator, arch:arm64, id:D040351C-6177-42BC-B0E2-9E0C995EA515, OS:26.0, name:iPad mini (A17 Pro) }
{ platform:iOS Simulator, arch:arm64, id:7D58AA15-86D0-4E8A-8C1C-A6CD33B70BB4, OS:26.0, name:iPhone 16 }
{ platform:iOS Simulator, arch:arm64, id:4CE14A8D-3E2C-4ACA-B12C-41F4642553D2, OS:26.0, name:iPhone 16 Plus }
{ platform:iOS Simulator, arch:arm64, id:C5B76D64-DC54-4BB9-8EFC-CF44D8346379, OS:26.0, name:iPhone 16 Pro }
{ platform:iOS Simulator, arch:arm64, id:5973F4D1-5C4F-4386-B0BA-A36C1A542138, OS:26.0, name:iPhone 16 Pro Max }
{ platform:iOS Simulator, arch:arm64, id:A6030BF7-0D50-4A48-A883-FDC276C6FCFF, OS:26.0, name:iPhone 16e }
As far as I can understand, there is no Rosetta Simulator installed yet.
My question is: Are there any additional steps that I need to do to trigger Rosetta Simulators on this workstation?
With my other workstation, I have Mac Sequoia 15.5, Xcode 16 and Xcode 26 Beta 3, everything works perfectly for me: I can see Rosetta Simulator with Xcode 26 Beta and run my app with on Rosetta simulators.
See more: https://developer.apple.com/forums/thread/791500?answerId=848514022#848514022
Hi all,
I've not found any articles about this change: iOS Camera app can no longer decode a QR code encoded with Shift_JIS.
Sample QR code:
Text: こんにちは
iOS 17.0.2: detected and decoded successfully
iOS 17.1: detected but couldn't decode the value
I also created simple app for scanning QR code (based on tutorial a https://www.hackingwithswift.com/example-code/media/how-to-scan-a-qr-code
and it has the same results.
I cannot find a way to inject the corresponding to AVCaptureMetadataOutput
Is this a bug of iOS 17.1 or an expected update?
PS: The same behavior still persists in iOS 17.1.1
Thanks
After upgrading to iOS 17.1, I can't scan some QR codes. The same codes can be scanned correctly before. In details
iPadOS 17.0 and earlier: Works well
iPadOS 17.1: Something goes wrong
Sample project code:
func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
captureSession.stopRunning()
if let metadataObject = metadataObjects.first {
guard let readableObject = metadataObject as? AVMetadataMachineReadableCodeObject else { return }
guard let stringValue = readableObject.stringValue else {
foundButInvalid()
return
}
found(code: stringValue)
}
}
Sample QR code