Discuss hardware-specific topics related to iPhone.

Posts under iPhone tag

200 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Search Bar does not work on iOS 18
I belong to an EC shop application developers' team, and we got a crame from a small part of our customers about our application. "Search Bar does not work on iOS 18." This bug doesn't appear on most of our devices updated to iOS 18.0. In some cases, it disappeared by turning [Settings > Accessibility > Touch > Reachability] off. But it is not the same for all customers found the bug. I'm looking for how to fix this bug, and why it happens. I'm not sure but I doubt that this may be a bug of iOS18, UIKit, RxCocoa, RxSwift, or something else. Any information would be welcome. import UIKit import RxSwift import RxCocoa @IBDesignable public final class SearchBar: UISearchBar { var textField: UITextField { if #available(iOS 13.0, *) { return searchTextField } else { return value(forKey: "_searchField") as! UITextField } } private let disposeBag = DisposeBag() private func bind() { textField.rx.isFirstResponder .bind(to: Binder(self) { me, isFirstResponder in // This doesn't work in some iOS 18 devices. me.textField.attributedPlaceholder = placeholderAttributedString(isFirstResponder: isFirstResponder) me.textField.backgroundColor = isFirstResponder ? Asset.Colors.whiteTwo.color : .white if me.useCancelButton { me.showsCancelButton = isFirstResponder } if me.useBookmarkButton { me.showsBookmarkButton = !isFirstResponder } }) .disposed(by: disposeBag) } public override init(frame: CGRect) { super.init(frame: frame) commonInit() } public required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } public override func awakeFromNib() { super.awakeFromNib() commonInit() } public override func prepareForInterfaceBuilder() { super.prepareForInterfaceBuilder() commonInit() } private func commonInit() { bind() } } extension Reactive where Base: SearchBar {} import UIKit import RxSwift import RxCocoa @IBDesignable public final class SearchHeaderView: UIView { @IBOutlet private weak var searchBar: SearchBar! @IBOutlet private weak var cartContainerView: UIView! private let disposeBag = DisposeBag() public override init(frame: CGRect) { super.init(frame: frame) loadFromNib() commonInit() } public required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } public override func awakeFromNib() { super.awakeFromNib() loadFromNib() commonInit() } public override func prepareForInterfaceBuilder() { super.prepareForInterfaceBuilder() loadFromNib() commonInit() } private func commonInit() { bind() } private func bind() { // ↓ This doesn't work in some iOS 18 devices. searchBar.textField.rx.isFirstResponder .bind(to: cartContainerView.rx.isHidden) .disposed(by: disposeBag) } } extension SearchAndCartHeaderView: NibOwnerLoadable {}
0
0
205
3w
iPhone/iPad lose Data connection when using USB-C to USB-C cables after reboot on ARM Macs
I've noticed an issue when using an iPhone or iPad that uses a USB-C port (such as the iPhone 15 Pro or iPad Pro 12.9" 6th generation) and a USB-C to USB-C cable on ARM Macs (such as the M2 Mini). After rebooting the Mac, the iOS device is no longer recognized despite the iOS device continuing to charge. I can temporarily resolve the issue by reseating the USB-C cable, which allows the device to be recognized again by applications like Finder. However, this isn't a practical solution due to the number of M2 Minis we have (each with an attached iPhone for testing) and the Mini's frequent automatic reboots throughout the day. Using a USB-A to USB-C cable (with USB-A connected to the Mac Mini) seems to avoid this problem altogether, as the iOS device remains consistently recognized after a reboot. As the title suggests, this issue appears to be specific to ARM-based Macs. We've encountered it on both the M2 Mini and a 2021 Macbook Pro with the M1 Max chip. Interestingly, we haven't been able to reproduce this behavior on Intel-based Macs (tested on an 8,1 Mac Mini and a 2019 16" Macbook), where the iOS devices remain connected after a reboot when using a USB-C to USB-C cable. Here are some additional details: iOS Devices & Versions: iPhone 15 Pro: Issue persists on both iOS 17.1 and iOS 18.0.1 iPad Pro 12.9" (6th generation): Issue persists on both iPadOS 17.6.1 and iPadOS 18.0.1 Cables: Apple's 60W USB-C Charge Cable (USB 2.0): Issue occurs Generic/Third-party USB-C cable (USB 3): Issue occurs
1
0
195
4w
XCode 16 - Wifi debugging failed
Hi Apple Developer and DTS team, I facing a big problem when develop the application that trying to connect to WAC firmware (iOT device). When I debugging the the application, the real device switch internet connection to WAC wifi, and my XCode will showing as failed. The problem here when I trying to back to old network and trying to build again. the XCode will stuck on building with multiple installing application. Actually I seen that the XCode do not cancel old installing build. That issue not appears on XCode 15.4 with same source code. I belive that issue come from the bad internet connection. And now XCode 16 disable to turn off WIFI build as: That why I can't select the build and debugging the app over cable anymore. My question is: How I can disable WIFI debugging? Because my wifi debug not stable when I developing the application over WAC device. How I can cancelling the installing actions of XCode to build new one? Best Regards, A ****** iOS Developer guy. [Personal Information Edited by Moderator]
0
1
133
3w
3rd party OSS license string in settings.bundle could not been displayed in iOS 18
Hello, Dear Developers Problem Description My team is working on functionality test in iOS18. Basically, application functionality works as expected without any modification. However, We found a small issue in settings application. iOS 17 In iOS17, 3rd party OSS license string in settings application would been displayed if the license button is been clicked. Model: iPhone SE 3 OS Version: 17.6.1 iOS 18 However, in iOS18, nothing but a blank page. Model: iPhone SE 3 OS Version: 18.0.1 Settings.bundle Below are files in settings.bundle. What I've searched Using XCode 16 makes no change Nothing about settings.bundle in iOS 18 release note A similar post: https://forums.developer.apple.com/forums/thread/764519 The solution in the post doesn't solve my problem. If you know the solution, please let me know. Best wishes.
0
0
179
4w
BLE Device Discovery Inconsistent Across iPhone Models with Same iOS Version
I'm encountering an issue where a specific BLE device (a Telematics Control Unit) is being discovered by some iPhone models but not others, all running the same iOS version (18.0.1). Here's the breakdown: Successful discovery: iPhone 11, iPhone 14 Plus, iPhone 6s No discovery: iPhone 13, iPhone 12 mini Firmware: The TCU firmware is up-to-date. BLE: Bluetooth is enabled on all devices. I've tried basic troubleshooting like restarting devices and resetting network settings, but the issue persists. Could this be related to differences in Bluetooth chipsets or antenna designs between iPhone models, even with the same iOS version? Are there any known compatibility issues between this TCU and specific iPhone models? Any insights or suggestions for further debugging issue would be greatly appreciated!
3
0
214
4w
Apple Intelligence missing Image features released in 18.2 today
I'm using an iPhone 15 Pro Max and running developer beta 18.2 released today. I've already been an 'Apple Intelligence' user and now have been able to link it with my PAID ChatGPT account. HOWEVER; I'm searching for these Image features everyone seems to be posting about and cannot find them anywhere. I'm apparently supposed to sign up for beta access to the Image features through some new Apple natively released app that was supposedly included in this build update, which I cannot find. What gives??!!
4
2
750
4w
URL Schemes for Direct Access to Software Update Settings on iOS Devices (18.0.1)
Hello everyone :) For a project application we try to create a QR code that leads the user to the Software Update settings on iPhone after scanning to improve the accessibility for people who are not experienced in using smartphones. On iOS 18.0.1 I see that using App-prefs: opens the settings app which is a good starting point. Furthermore, using e.g. App-prefs:com.apple.MobileSMS directs the user to the Settings of the Messages app. But things like App-prefs:root=SoftwareUpdate don't work. That's why I wanted to kindly ask, if someone may have other ideas or knows what the exact URL might be for opening the Software Update settings or at least the General settings (App-prefs:root=General doesn't work). If anyone has insights or can share the exact URL scheme for this purpose, I would greatly appreciate it! Thank you so much!
2
0
281
4w
Inquiry Regarding File Size Differences When Migrating from ALAssetsLibrary to PHPhotoLibrary
We are currently in the process of migrating our application from using ALAssetsLibrary to PHPhotoLibrary to ensure compatibility with the latest versions of iOS. However, we have noticed a discrepancy in the file sizes of images obtained using PHPhotoLibrary compared to those obtained using ALAssetsLibrary. Specifically, we would like to understand the following points: 1.Reason for File Size Differences: What are the reasons for the difference in file sizes between images obtained using ALAssetsLibrary and those obtained using PHPhotoLibrary? Could you provide detailed information on the settings and options in PHPhotoLibrary that affect the size and quality of the images? 2.Optimal Settings: What are the optimal settings in PHPhotoLibrary to obtain images with the same quality and file size as those obtained using ALAssetsLibrary? If possible, could you provide code examples or recommended option settings?
3
0
244
3w
Security and privacy
Yesterday I upgraded to IOS 18.1 RC, after the update, I went to the privacy and security section, then went back out and then back in, and a gray background appeared on the selected item, all the items in privacy Privacy and security are all grayed out when I go back in and then click back in. I've updated and reinstalled, but the problem still persists. Does anyone else have the same problem? I use Iphone 15PM, Thanks All!
1
0
170
4w
Apple Store Rejection for Mosawirin App - Need Developer Assistance
Hello fellow developers, I've recently submitted my app, "Mosawirin," to the Apple Store, and unfortunately, it was rejected due to Guideline 4.2 - Design - Minimum Functionality. I'm seeking advice or suggestions on how to address this issue effectively. Below, I'll provide an overview of my app's concept, its new features, and the improvements I've made. App Concept: Mosawirin is a platform that connects users with professional photographers, models, makeup artists, hairstylists, and other service providers across Saudi Arabia. Service providers can register and offer their services, while users can browse, filter, and book services directly through the app. Users can also communicate with the service providers for detailed arrangements. New Features and Improvements: I made several enhancements to ensure a richer user experience and better overall functionality: In-app Messaging: A built-in chat feature for seamless communication between users and service providers. Comments and Ratings: Users can now leave comments and rate packages to help others choose the best services. Notifications: Real-time custom notifications regarding new offers, booking updates, and chat messages. Direct Booking: Streamlined booking feature for users to reserve service providers directly within the app. The booking button, named "Contact" in the app, allows users to select the appropriate event time to facilitate communication with the service provider. After pressing the button, users are presented with four options: Call In-app Chat Redirect to WhatsApp Send Booking Request to Photographer Direct Contact via WhatsApp: Users can connect with service providers not only through the app's chat but also via WhatsApp. Service Provider Listings: Categorized lists of service providers such as photographers, makeup artists, and models. Detailed Profiles for Providers: Service providers have profiles showcasing their packages, offers, and reviews. Service Filtering and Categorization: Users can filter services based on city, gender, and category, improving ease of use. Like Feature: Users can mark their favorite packages to revisit and book later. Report Feature: Users can report inappropriate content or comments to maintain a clean and safe environment. Ad Display Date and View Count: Each advertisement now includes the display date and the number of views, giving users insight into the popularity and currency of each service. Demo Content for Apple Review: The app currently includes demo content for review purposes. When accessing any category, there are a number of sample entries available until the app is officially launched. The app relies significantly on service providers to upload real content after the official release. Account Management Features for Service Providers: Service providers, such as photographers, have full account management capabilities. They can: Modify or delete their packages. Track and manage orders. Directly communicate with clients. Delete their accounts if needed. Service Provider Finder: Users can post advertisements searching for specific service providers, like photographers or makeup artists, to suit their event needs. Product Details Example: Each product (or service package) includes the following details: Image: Displaying the service provider's offering (e.g., an event photo sample). Title: Name of the package (e.g., "Event Photography Package"). Description: Details about the package, including duration and scope (e.g., "Full event coverage with 200 edited photos"). Price: Clear pricing (e.g., "1000 SAR per event"). City and Service Time: Where and when the service is available. Booking Button: A button for easy booking. Ad Display Date and View Count: Information on when the ad was displayed and how many times it has been viewed. Possible Limitations of the App: I acknowledge that there are some limitations in the current version of Mosawirin: Single Language Support: The app is currently available only in Arabic, as it is specifically targeted towards Arabic speakers within Saudi Arabia. This might limit its appeal to non-Arabic speaking users. No Light/Dark Mode Option: The app does not yet support a light or dark mode feature, which may impact the user experience for those who prefer specific visual themes. No Location Request Feature: The app does not ask users to share their location through a map, as I believe users can manually input their location or use filters to find relevant service providers. However, I am open to adding this feature if it would improve the app's usability and meet Apple's expectations. Apple Rejection Details and Current Challenges: The rejection mentioned that the app lacks sufficient functionality (Guideline 4.2). However, I believe that the features implemented are extensive and provide a full experience for the user. I would greatly appreciate it if someone could help me understand what might be missing or how to enhance the app further to meet Apple's expectations. Thank you in advance for your help and insights!
4
0
165
Oct ’24
In a Form's Section, how to automatically dismiss the keyboard when clicking a NavigationLink to enter a child view, and ensure the keyboard does not pop up again when returning to the main view.
The main view contains a Form with multiple Sections, including TextFields and NavigationLinks. I used an @FocusState variable to automatically pop up the keyboard when entering the main view, making it easier for users to input content directly in the TextField. However, when I keep the keyboard open and click a NavigationLink in the Section to enter a child view, I can't find a way to automatically dismiss the keyboard upon entering the child view. I've seen several official Apple apps, like Reminders, achieve this. Not dismissing the keyboard causes it to automatically pop up again when returning to the main view, along with triggering a "Unable to simultaneously satisfy constraints" error in the console. I asked GPT for help, but the suggestions, like using simultaneousGesture or adding isActive to the NavigationLink (which might be deprecated), haven't worked. Has anyone in iOS development encountered this issue?
1
0
169
Oct ’24
Apple intelligence is not available in the iPhone 15 Pro brought from China.
My iPhone 15 Pro is from Hong Kong (China). I am outside of China and Asia in general. I have never been to China myself and the iPhone was activated in another country. And it is not the EU. My iPhone's language, Siri and region settings are changed to US English. Updated to iOS 18.1 RC. But Apple Intelligence doesn't show up in the Siri settings.
1
1
283
3w
iPhone device slowness observed in iOS 18.0.1
After installing the app with distribution certificate, iPhone is getting very slow in some random devices with iOS version 18.0.1 where as the same app installed through TestFlight & AppStore is working fine . Could you please provide your support to diagnose this issue? Devices with iOS 18.0.1 which are showing issues:- iPhone XR, iPhone 16 pro. Thanks.
3
0
130
Oct ’24
iPhone 15 Pro Max Overheating During Normal Use – Seeking Advice"
I'm experiencing a heating issue with my iPhone 15 Pro Max. The device heats up even during light usage, such as browsing, checking social media, or using simple apps. It becomes noticeably warm, even though I'm not running any demanding tasks like gaming or video editing. I’ve tried restarting the phone, closing background apps, and ensuring that iOS is fully updated, but the problem persists. Has anyone else encountered this issue with the iPhone 15 Pro Max? What could be causing my device to heat up during regular use? Are there specific settings or steps I can take to reduce the heating? Is it more likely to be a software-related issue or a hardware problem? Any suggestions or solutions would be appreciated! Has anyone else encountered this issue with the iPhone 15 Pro Max? What could be causing my device to heat up during regular use? Are there specific settings or steps I can take to reduce the heating? Is it more likely to be a software-related issue or a hardware problem? Any suggestions or solutions would be appreciated!
1
1
254
Oct ’24
Hi. This “Nearby Devices” control is very limited. I’ll tell you why:
First of all, you cant unlock the device, even if you know the password. Thats one thing. Then, you cant use your main device to navigate trough the device you are controling. You basically can’t do shit to be honest. And Siri is on a bad mood this days. That’s what I have to say to you my friends. Eu amo vocês. beijos. Consertem essa porra. E o “Eye Tracking” está bugado também. Não funciona direito.
0
0
173
Oct ’24
CarPlay issues with my new LEXUS LBX
Hello, I am experiencing an issue with my new Lexus LBX car. The phone will not respond to ‘Hey Siri’ when i want to make a phone call or ask for directions. A manual approach through the cars infotainment system works and Spotify seems to work okay, but the system will not respond to a voice. The iPhone itself works fine with voice commands when not connected to my Lexus.
1
0
186
3w
Does iPhone 15 Pro Use a Single Microphone or Multiple Microphones for Voice and Sound Recognition?
Hello, I have a question regarding the voice and sound recognition features on the iPhone 15 Pro. The iPhone 15 Pro is equipped with four microphones, and I understand that for features like Apple’s sound recognition and when invoking Siri, the microphone(s) must always be active. My question is whether the device uses a single microphone (mono channel) for these functions or if multiple microphones are activated simultaneously. I would appreciate clarification on how the microphones are utilized in sound and voice recognition features. Thank you for your assistance. Best regards.
1
0
321
Oct ’24