I'd like my app to run in Portrait mode only on iPhones, but any orientation on iPad.
Years ago, I recall being able to do this by overriding or implementing some callback functions for orientation, which seemed to change with every other iOS release.
I'm hoping there is a simpler way to do this today. I was hoping that the Deployment Info tab in Xcode would let me set different Device Orientation choices for iPhone and iPad, but this doesn't seem to be the case.
I'm sure I could hack around and come up with some solution, but I'd like to learn what the "right" way is to do this in current versions of iOS.
Thanks,
Frank
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I've been unable to upload a build from Xcode on my new M1 Mac Mini since I got it in December. I can still upload builds from my Intel Mac which is on the same Wifi network and logged into the same account (and uploading builds of the same product).
The Transporter application works on my Mac Mini, but it is inconvenient to have to run a separate app to do the uploads. I'd like to figure out why it's not working in Xcode.
Only the upload part of the process is failing. The app compiles fine, the signature works, etc.
Thanks,
Frank
How do I get Xcode to remember my Git credentials?
I am not using Github, or one of the other brand-name Git repositories that Xcode recognizes. There doesn't appear to be a way to store Git credentials generically.
Is it possible to set a silent local notification?
Is it possible to monitor the accelerometer or gyroscope when running in the background?
My goal is to develop an app that detects sudden accelerations, like if the user fell down stairs, or was in a car accident.
Thanks,
Frank
Xcode won't remember my Git credentials if I close and re-open it. It remembers them while Xcode is running, but always asks me again whenever I shut it down and reopen it.
My Git repository is hosted with Beanstalk, which is not one of the ones listed in the drop-down list in Xcode.
I have saved my credentials with Git on the command line and I'm able to do Git command line operations without re-entering them, but Xcode doesn't seem to recognize this.
I'm really getting tired of retyping my password all the time. What else can I do?
I have an app that I distribute to an Enterprise customer via private app store distribution. Recently, I published an update. The update went through the App Store review process, was approved, and is currently listed as Ready for Sale.
However, my Enterprise customer says he cannot access the update. His view of the app still shows the latest version as being the prior version.
I can't figure out what is wrong. Is there some additional step I need to take to make sure the app is available to him?
Thanks,
Frank
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
Enterprise
App Store Connect
Hi,
I'm working with a BLE device manufacturer on a new device for which I'm tasked with developing the iOS app.
The hardware developer told me: "In response to a Scan request (from a phone or other device) the BLE stack is configured to include a device identifier". The device identifier is something I need to see in the advertising packet before I connect to the device.
I don't know what a "Scan request" is. Is this something I have to specifically ask for in my app? Is it something iOS does automatically?
Thanks,
Frank
Is there any way to get Xcode to remember my Git credentials?
My company uses a service called Beanstalk to host our Git repositories. Beanstalk is not one of the choices available under "Source Control Accounts", but the repository itself is a standard Git repository.
I can access it by giving my credentials at the time I pull or push, but Xcode forgets them whenever I close it.
I want to customize or limit the typing suggestions for a UISearchBar input to a list of known words that exist within the material that is being searched. How is this done?
Thanks,
Frank
How do I disable the predictive text feature (word suggestions) of the keyboard when used with a UISearchBar?
I have a table cell containing a UITextView. The table is using automaticDimension for the cell height and the cell itself is formatted in a way that the UITextView can be a variable height.
The intention is that the textview and the cell should reisize as the user types and the text flows into additional lines. If I do nothing else, this doesn't happen.
If I add a UITextViewDelegate and call sizeToFit() on the textview whenever the text changes, and then reload the table cell, it does resize, but it does so in an extremely sloppy and unusable way. Specifically, the textview loses focus, the cursor disappears, and the text starts to render in odd ways with overlapping characters or graphics from surrounding elements.
What is the correct way to accomplish this?
Thanks,
Frank
I manage several different apps for different customers, who have invited me as a user to their Apple Developer accounts.
This week a new customer invited me and I accepted the invitation. If I go to App Store Connect, I can select that customer, view the Users screen and see that he has given me Admin access which is what I requested.
However, when I go to developer.apple.com/account, I cannot access the "Certificates, IDs & Profiles" section. In fact, I do not even see the new customer in the pick list underneath my name.
This customer is non-technical and needs me to do everything involved with publishing his app, starting with creating the App Store listing and certificates. In App Store Connect I can "Add App" but there are no bundle IDs in the pick list. If I click the link that says "Register a new bundle ID" it takes me to the Certificates page but with a different customer's account selected.
Why am I unable to do this given that I have Admin access? Is there some other way I can set up this app?
Frank
I'm building a physical therapy app and as part of it, I want the app to oversee and measure certain exercises that the user will do. I'm not sure if I should use Core Motion, location services, or something else.
These are the specific things we want to measure:
The user walks for 6 minutes. At the end of it, we tell them how far they walked.
The user runs for 30 seconds. We tell them their average speed and peak speed.
The user does a broad jump: basically just jumping forward as far as they can. We want to measure the distance jumped.
I'm thinking location services might work for #1 but I doubt it will be accurate enough for #2.
For #3 I thought I could do this with the accelerometer if I took readings at short intervals and combined them with something like the trapezoidal rule, but I can't get this to produce a reliable result.
Let me know what you think, thanks.
I need to test my app's in-app purchases and I am having a very difficult time with it.
I created a "Sandbox" account in App Store connect. Doing so was very frustrating. It told me multiple times that my password was "too simple", without ever explaining what the password rules are. Then it emailed me something so I could "validate" the account. Luckily I used an actual email address that I can receive mail on. I was expecting I could use any fake address since this is a Sandbox account.
After that I started an iOS simulator and tried to log in. It immediately asked me to turn on two-factor authentication. I declined, and then it just said "User name or password is incorrect". I tried a couple more times, then I went back and actually turned on the two factor auth. But that didn't solve the problem. I still cannot log in.
Can someone explain what I'm doing wrong here?