Discuss hardware-specific topics related to iPhone.

iPhone Documentation

Posts under iPhone tag

433 Posts
Sort by:
Post not yet marked as solved
1 Replies
4.6k Views
HiWe are making an app where the user can set the ringtone by our app. So please let me know how to set a ringtone for particular user programmatically.I have googled and found that in iOS it is not possible in any case even it is possible then Apple will reject the app.I found these all answeres hereSet ringtone in iPhone SDKHow to set music file as call tone and message tone in iphone programaticallyhttps://www.google.co.in/search?q=can+we+set+ringtone+programatically+ios&oq=can+we+set+ringtone+programatically+ios+&aqs=chrome..69i57.23214j0j1&sourceid=chrome&ie=UTF-8#q=can+we+set+ringtone+programmatically+ios&newwindow=1&start=10But these all queries/answers were 2-4 years old. Is it now possible to do this? Please let me know. ThanksGopal Devra
Posted
by
Post not yet marked as solved
74 Replies
38k Views
When rearranging the home screen and subsequent pages, folders containing apps will spontaneously vanish, leaving the app icons on the pages. It may be related to widgets moving on the page.
Posted
by
Post not yet marked as solved
1 Replies
574 Views
We are making application of ios. The application is for Disaster prevention in Japan. Because, Recentry in Japan has many Disaster in all season. We spplied to Local government in Japan and using general public and they are using well. One of the local government request to us, they want also supply to deaf person and help whe disaster occur. Local government already has disaster prevention broadcast but it is using loudspeaker. Then, when rains heavily, it can not hear to general public. And our application is from disaster prevention broadcast and forwarding to ios smartphone. It is helpfull to general public well. We are making new application it is not only prevention broadcast text but flashlight with iphone. But after making application, the flashlight is lighting only open our application. like beloe link. But, if Deaf person using it maybe he is not notice well. Our application is already has viblation function but Deaf person put his smartphone in his bag maybe I think he never noticed that Heavy rain and tsunami. Here is our application https://apps.apple.com/jp/app/cosmocast/id1247774270?mt=8 Here is application rule for flashlight. https://stackoverflow.com/questions/32136442/iphone-flashlight-not-working-while-app-is-in-background/32137434 I want help Deaf person and also senior citizens for Heavy rain and tsunami by our application. We'd like to make a flash light at the same time as the push notification arrived. Does anyone know a good way? Thank you and Best regards. Tomita.
Posted
by
Post not yet marked as solved
13 Replies
18k Views
Whenever I fresh install my app onto my device, it is not showing up in the Settings app. Even after trying to search it, nothing appears. I use location services and local network within my application so I need to be able to change those authorizations as it does not reliably prompt for those authorizations (I need always for location and that was removed, local network never prompts correctly). I have however seen my app appear in the settings app under privacy -> Location Services but not local network. Is this an issue with Apple or with my application? Should also be known that it does appear in settings on some devices.
Posted
by
Post not yet marked as solved
3 Replies
12k Views
I want to use use my iPhone to make a daily call to a web URL; much like a cron job if I had a home server. In theory, this should be so simple: Open iOS Shortcuts app Go to the Automation tab Tap the ➕ icon Choose Create Personal Automation Choose Time of Day Set a time and choose next Use the “Get Contents of URL” action in the “Web Requests” section Disable “Ask Before Running” ✅ The above works great if I set the time of day to something like 9am, when I will likely be using my phone. ❌ It never runs if I set the time of day to 6am when: I am still asleep (so the phone hasn’t been picked up for 6–8 hours) The phone is on charge and connected to WiFi Do not disturb is enabled (note: I have tried disabling “Do not disturb” without success) My theory is perhaps if the phone is inactive for x time then daily automations won’t run but hoping someone has a definitive answer. Thank you!
Posted
by
Post marked as solved
51 Replies
79k Views
Hi Dev Team, I don’t see many answers on this topic but this seems to be a real concern for many users. I went from my IPhone 8+ with 256gb and I had 39gb used, about 7gb was other storage no big deal. I decided to go with an iPhone 12 Pro Max 128gb. I now have 60gb used of which 26gb is other storage!!! I have done 3 clean installs from different iCloud backups and no change. I do not buy an iPhone to see half of my storage being used by other and system storage. Also I do not explain why I now see some gb with photos and messages as it is normally all stored on iCloud (I have 2.2tb). Same thing I do not subscribe to iCloud or AppleOne to have data store on my iPhone while it should be all on iCloud. I did not have this on my 8+. I called Apple but they were clueless...simply telling me that it is normal and that it may take a few days for things to get back to normal...it is not true. is that a bug? My iPhone flash memory corrupted?Will this be taken into consideration? Anyone else having this issue please post. Thanks much! X
Posted
by
Post not yet marked as solved
17 Replies
32k Views
Why is My 1 month old iPhone is draining battery health too fast, just one and half month old and it has already lost 2% battery health although i charge about only 50-60% charge daily and never charged it 0-100 then also please help if someone can.
Posted
by
Post not yet marked as solved
30 Replies
71k Views
G'day. At my office the doors are locked with an NFC reader. We carry around a little NFC tag on our key chains which will read out a number and this then will open the door if the number matches a number in the database. I am tired of carrying around the tag, people keep loosing it, forgetting it and it would be nice to open the door using a Phone - which we tend to always have on us. So I used a credit card which is NFC enabled to readout the NFC information, added this number to the database and can now open doors using my credit card. This is pretty cool. If I forget my keys (most likely they will be on the desk but silly me left the desk without them), I may have my wallet with me. Then I tried Wallet.app on my iPhone and select the same credit card. However the door doesn't open. When looking in the door software I noticed that the tags will always transmit the same number. So does my credit card. However Wallet.app will read out 4 readings (or maybe just one very long one) and they are always different. So I can not make them match with the door database. Any ideas how to make this work? Can I give somehow wallet.app an NFC number which I can then add to my door database? Or how come the credit card and the very same one in wallet.app don't match? Thanks for your help! Would be neat if I could make this work out. This will make a lot of people happy at my office! Cheers!
Posted
by
Post marked as solved
2 Replies
2.1k Views
I am writing a keyboard-extension, there are several buttons and these buttons have a text, therefor I am using localized strings. So the extension is always in the "correct" language. When opening the keyboard-extension with the "world"-button (pressing it long, so that the menu is shown) there is always a line below the name of the app showing "English". As far as I know this is the primary language, there is also one entry for "PrimaryLanguage" in the info.plist (NSExtension/NSExtensionAttributes, set to "en-US"). I tried to remove this entry, but after this the app does not start anymore. Is there a different way to remove this entry or is it possible to change it to the language of the localization?
Posted
by
Post not yet marked as solved
7 Replies
2.4k Views
This started to happen last week of September 2020 whenever I go to Pay Bills, to pay any bills, they keyboard doesnt show up for me type or input information such as account name/number email address or even the amount I wanted to pay may it be a credit card etc. Please help.
Posted
by
Post not yet marked as solved
3 Replies
3.5k Views
Hi, I'm trying to test my app on my iPhone 12 Pro, but it's simply not launching and I'm not getting any valuable error information back. When Xcode is finished compiling and attempts to launch the app, I get "Unable to launch [App Bundle ID]". Clicking more details gives me: Details Unable to launch [App Bundle ID] Domain: com.apple.platform.iphoneos Code: -12- Request to launch [App Bundle ID] failed. Domain: com.apple.dt.deviceprocesscontrolservice Code: 2 Failure Reason: The operation couldn’t be completed. The process failed to launch. : Failed to launch process with bundle identifier '[App Bundle ID]'.- The operation couldn’t be completed. The process failed to launch. Domain: FBProcessExit Code: 64 Failure Reason: The process failed to launch. User Info: { BSErrorCodeDescription = "launch-failed"; }- The operation couldn’t be completed. Launch failed. Domain: RBSRequestErrorDomain Code: 5 Failure Reason: Launch failed.- Launchd job spawn failed with error: 2 Domain: NSPOSIXErrorDomain Code: 2 Failure Reason: No such file or directory- System Information macOS Version 11.0.1 (Build 20B29) Xcode 12.4 (17801) (Build 12D4e) Timestamp: 2021-02-20T23:07:52Z I've never encountered anything like this before so I'm not sure what I can do? Additionally, the app fails to load when clicking on it from the iPhone after Xcode has uploaded the app to the phone. It brings up a black screen and immediately closes. The same problem occurs when trying an iPad too. Using Xcode's console connected to my iPhone, I see the following error when trying to manually launch the app: (not sure if this means anything) error 23:38:40.875438+0000 SpringBoard Snapshot generation request for bundleID: [App Bundle ID] rejected due to the app being denylisted.
Posted
by
Post not yet marked as solved
2 Replies
1k Views
I'm using PkCanvasView one of my app for drawing purpose. When I use lasso tool for selection and tap on selected area, menu controller appear with options "Cut, Copy, Delete, Duplicate, Insert Space Above". As per my app requirement, I want to remove "Insert Space Above" from menu controller. Is it doable?
Posted
by
Post not yet marked as solved
7 Replies
2.7k Views
We've 10 CoreML models in our app, each encrypted with a separate key generated in XCode. After opening and closing the app 6-7 times, the app crashes at model initialization with error: 2021-04-21 13:52:47.711729+0300 MyApp[95443:7341643] Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=com.apple.CoreML Code=9 "Failed to generate key request for 08494FB2-B070-440F-A8A5-CBD0823A258E with error: -42905" UserInfo={NSLocalizedDescription=Failed to generate key request for 08494FB2-B070-440F-A8A5-CBD0823A258E with error: -42905}: file MyApp/Model.swift, line 43 Looks like iPhone is blocking the app for suspicious behavior and the app fails to decrypt the model. We noticed that after ~10 hours the app is unlocked, it successfully decrypts and initializes the model. Opening and closing the app many times in a short period of time is indeed unnatural, but the most important question is how to avoid blocking? Would Apple block the app if a user opens and closes it 10 times during a day? How does the number of models in the app affect probability that the app will be blocked? Thanks!
Posted
by
Post not yet marked as solved
2 Replies
493 Views
Unfortunately I have found myself in a very messy and painful situation, I’ve been dealing with for the last 4-5 months (at least). That situation being my ex girlfriend installed a Third-Party Spyware application on my iPhone 12 Pro and or iCloud account. This has had almost uncomprehending negative effects on every corner and facet of my life, including my my relationship with my daughter, my family, my friends, my ability to successfully conduct and manage my business, my finances, etc. I’ve spent 1000’s of hours studying how, why, and what she has done to gain access to basically to most my entire adult life and all the data that I’ve accumulated during it (dating back to 2010), and lost days of sleep from the anxiety it’s brought on (my photos and data have been used “anonymously” and maliciously, via harassment, stalking, anonymous slanderous character ************* campaigns on many occasions). If there’s anyone out there that could possibly help me identify how and what this woman is and has done to lite ablaze this seemingly never ending inferno in my life, I would GREATLY appreciate it. Thanks in advance and God Bless! Roger Beaman 817-966-0819
Posted
by
Post not yet marked as solved
0 Replies
1.4k Views
I'm sideloading/downloading .ipa files from my Mac to my iPhone, but it won't download unless the App Store is enabled on my iPhone? Is there a way to sideload my Xcode apps without the App Store turned on to download my ipa files to my iPhone?
Posted
by
Post not yet marked as solved
6 Replies
4.3k Views
I created a horizontally scrolling view modifier that essentially wraps the contents and applies a horizontal offset based on a DragGesture GestureState. It looks a little bit like this @GestureState private var dragOffset: CGFloat = 0 content .offset(x: dragOffset, y: 0) .simultaneousGesture(DragGesture(minimumDistance: 20, coordinateSpace: .global) .updating($dragOffset) { (value, gestureState, transaction) in                             gestureState = value.translation.width                         }) The problem I am seeing is that on the Pro Motion Display of the iPhone 13 Pro, the "offset" view does not smoothly slide along with your finger as it drags. Instead is is very jaggy or laggy, probably rendered with maybe 15 fps or so. On the iPhone 11 Pro I used before, the drag is very smooth and on the iOS 15 simulator it is smooth as well. What is wrong here? Thanks for help!
Posted
by
Post not yet marked as solved
2 Replies
2.5k Views
Our app recently got rejected couple times by an issue that the keyboard is not appeared (or is disappeared after 1 second) on log in page when the reviewer tried to login by using their iOS 15.0.1 device (iPhone or iPad). We can't reproduce from our devices until we connect a Magic Keyboard to our device and found out the iOS 15 has been changed for the behaviour of hardware keyboard: When running the app in iOS 15 and iOS 13 in Simulator, if the "Connect Hardware Keyboard" is on, typing in hardware keyboard results differently for iOS 15 and iOS 13, iOS 15 keyboard is disappeared from the Simulator. I connect my Magic Keyboard to my iPhone (iOS 15.0.1) and when I tap on a text field (e.g. in Message app) - there is no iOS keyboard appears on the screen. I also sometimes have luck that the iOS keyboard is appeared when I tap on Message app's text field, if the iPhone is awake from the locked screen. Then I can use the iOS keyboard for inputting, but once I start typing in the Magic Keyboard, the iOS keyboard is disappeared at once. It seems there is a bug for iOS 15 when a hardware keyboard is connected to the iPhone. iOS Keyboard showing (for the first time only, or awake from locked screen): iOS keyboard disappeared when typing from the hardware keyboard: iOS 13 has no such issue:
Posted
by
bxu
Post not yet marked as solved
1 Replies
1.4k Views
I can't access anything on my iphone 12 as the screen just keeps showing the "Unable to install app, please try again later" message. I hit the "ok" button and it just reverts back to the message again. I can't get the control panel, can't turn it off, can't get back to main screen. Please, any suggestions greatly appreciated as phone completely useless now.
Posted
by