How does "Distributing Custom Apps for Business" work, as described here?https://developer.apple.com/business/custom-apps/Can this be done using an ordinary Apple Developer account, or does it require an Enterprise account, or is there a third type of account?What are the costs and how does one go about setting it up?Thanks.
Post
Replies
Boosts
Views
Activity
Is it OK to have multiple instances of CBCentralManager in a single app?In my case, there will only be two instances and each one is managing a different kind of device. I do need to be able to scan for both devices at the same time.I realize that this is not the best architecture, but I'm in a situation where I'm being asked to basically merge two apps into a single app, and each of those apps has its own very complex logic that I don't want to disturb.Thanks,Frank
I'm reviewing a proposal for an app project where the app will offer customers access to electronic coupons (redeemable at retail stores) in exchange for an annual subscription fee.The client for this app wants to use credit cards, PayPal and Apple Pay to accept the fee, not in-app purchase. Is this legitimate or should I advise him that in-app purchase is the only acceptable solution?Thanks,Frank
Hi,I want to make a build script that takes different actions based on a preprocessor macro. For example, I tried to write it this way:if [ "${myFlag}" = "1" ]; thenWhere "myFlag" is a preprocessor macro that I defined in the build settings.It doesn't appear to work the way I wrote it. Is there a way to do this?
I'm trying to get the Track ID for a song from an MPMediaItem.For example, I have this song in my library:https://music.apple.com/us/album/up-up-and-away/1442898889?app=itunes&i=1442898899The number "1442898899" in this URL is a track ID.When I get the MPMediaItem for this track in my app, I can't find that number anywhere. I've examined all of the properties of MPMediaItem. There is one called MPMediaEntityPropertyPersistentID which I thought would contain this value, but it is a different number.How do I get the number I need?Thanks,Frank
I'm interested in the persistentID property of MPMediaItem.Assuming I obtained the MPMediaItem using MPMediaQuery songsQuery, and assuming that the song which was returned is a song that the user purchased from the iTunes Store or Apple Music, will this value uniquely identify the song across all Apple devices or is it specific to that user or that device?In other words, if two people buy the same song from the same album and add it to their music library, and my app queries for that song, will it read the same persistentID for both users?If that's not the case, is there another way I can get a unique ID number for the song?Finally, is there a way I can distinguish songs that were obtained from Apple versus songs that were added to the user's library by ripping a disc or adding an MP3 file, etc?Thanks,Frank
I have a mixed-language project that began in Objective-C, but later we started using Swift for new classes.In the Objective-C code, there is a custom collection view cell with its own XIB file. When used from a view controller that is also in Obj-C, it works fine.However, when we try to use the cell in a Swift view controller, we see this error at the point where we try to dequeue a cell:2020-01-14 18:53:36.505132-0600 UMIXX[24947:3977729] [Storyboard] Unknown class _TtC5UMIXX22SongCollectionViewCell in Interface Builder file.The name of our cell is "SongCollectionViewCell", not "_TtC5UMIXX22SongCollectionViewCell", so it is unsurprising that a class with this name can't be found, but we have no idea where this name is coming from. I'm guessing it's due to some kind of Obj-C class name mangling, but I can't figure out what to do about it.Thanks,Frank
Hi,Is there any framework or function in iOS that can do tempo detection on an audio sample and/or an audio stream?I'm currently doing this using a third-party library written in c++, but it is cumbersome and I want to get away from it if I can.Thanks,Frank
Is it possible for an app to search the iTunes catalog and assist the user in buying a song?Even if I have to open a different app to do the actual purchase, this would be OK as long as I could do the searching inside my app and send the other app a unique ID of the song to be purchased.I think I remember reading that this was possible years ago, but I can't find the information now.I realize that streaming and Apple Music are all the rage now, but unfortunately I have a customer with an app that depends heavily on being able to use local unprotected music from iTunes, it cannot work with streaming music services.Thanks,Frank
Is it still possible to purchase individual songs from the iTunes store? Is there an SDK that I can use in an app to help users locate and purchase songs this way?Thanks,Frank
I submitted an app on Saturday the 21st. It is still in the "Waiting for review" state. Does this mean that nothing will happen until they re-open after the holiday shutdown, or do they still review apps that were submitted before the deadline?Frank
Is there a way I can detect at runtime whether the app was installed from Test Flight vs. App Store?Frank
Is it safe to delete archives from the finder? That is, from ~/Library/Developer/Xcode/Archives?I have a lot of them, and it's tedious to remove them from Xcode because you can only do it one at a time, and there is a confirmation prompt.I also have a number of empty directories that correspond to old projects I no longer maintain. I can't find any way to delete these from within Xcode at all.Thanks,Frank
Help,I've been handed an Xcode workspace that contains projects in Swift 3 and other projects in Swift 5.If I open the workspace in Xcode 10.3 or later, it says that the Swift 3 projects aren't supported anymore and I should open them in Xcode 10.1.If I open the workspace in Xcode 10.1, it doesn't recognize the Swift 5 project and refuses to do the migration. If I try to open the Swift 3 projects individually, they won't build due to dependencies on other projects, and Xcode won't migrate them.I appear to be stuck. How do I fix this?
How do I configure an iPad app to only work in portrait mode?In Xcode there are checkboxes for the four orientations, and only Portrait is checked, but the app still rotates into landscape mode.I also tried checking the "Requires full screen" box, but this didn't have any effect.Thanks,Frank