Post

Replies

Boosts

Views

Activity

Is it possible only the watch app to be the main function?
I'm thinking of an app where only the watch app is the main function. However, since all functions are not available in the Watch app, we are thinking about handling some functions in the iPhone/iPad app. So, the Apple Watch standalone app seems impossible. In the iPhone/iPad, we are thinking of managing files and converting those files and transferring them to the Watch app. And the watch app plays the received file. (The main function is to play the file) The iPhone/iPad app does not play files. In the above case, I am wondering if our app can pass the Apple review.
0
0
282
Dec ’20
KCTKernAttributeName option not working in CTFrameGetLines
KCTKernAttributeName option not working in CTFrameGetLines I am trying to get a multiline of text from an NSMutableAttributedString via CTFrameGetLines. All other options are applied, but kCTKernAttributeName option is not reflected in CTFrameGetLines. Even if I put the value of kCTKernAttributeName in NSMutableAttributedString, it behaves as if there is no kCTKernAttributeName value. Is there any solution or cause?
0
0
591
Jan ’21
Apple's Policy on Rewarded Video Ads
In the app, when users view AdMob rewarded video ads, banner ads are removed for a certain period of time and some additional features are provided. However, we had previously supported rewarded video ads without in-app purchases in the app, but were rejected by the app review. And after adding in-app purchases, it passed the review. Could it be that Apple's policy does not yet allow only rewarded video ads to be added to the app? Or is there any way ?
0
0
645
Aug ’21
iOS 15 UIPickerView Delay on Start of Scrolling?
We are testing an app currently on sale on iOS 15. When I start scrolling up and down by touch in a UIPickerView , the scrolling is not smooth. There is a short break when you start scrolling. If I flick it quickly, it stops and after a while it has already scrolled to where some data has advanced. If we start scrolling and keep scrolling, then we don't have the above symptoms. The above symptoms start after the app does a big operation while loading a file. That is, when the symptom starts, it is there in the UIPickerView throughout the app. Only UIPickerView scrolling, other screen transitions or UITableView scrolling do not show such symptoms. There is no such symptom until iOS 14. Could you give us some advice on the cause of the above symptoms or how to improve it? The device tested is an iPhone 8 plus. We did send feedback to Apple through the Feedback app on devices that currently have iOS 15 installed.
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
1.3k
Oct ’21
Black screen when running the app on the iPad app
This is the app we are currently selling. If you follow the steps below, you may experience a black screen phenomenon. Run the app and go to the home screen. Turn off the screen of the device and do not use it for a long time. Turn on the device's screen and launch the app from the home screen. Randomly, the entire app screen is black and nothing works. If you completely close the app and run it again, it will run normally. It has been reported to us since iOS 15. And in iOS 15 and iOS 14.8, a user sent us an email about the same phenomenon. This only happens on the iPad, not the iPhone. Supports iPad multitasking UIApplicationSupportsMultipleScenes is not supported. Can anyone advise us on the cause or solution of this symptom?
1
0
1.1k
Oct ’21
How to get the Mac OS version ?
My app is for iOS (not a Mac app). It can be installed and run on M1 Mac. ProcessInfo().isiOSAppOnMac returns True . In this case, is there any way to get the OS version information of the Mac device where this app is currently installed? All APIs that get the current version information return the iOS version. For example, Mac 12.0 returns iOS 15. Mac 11.0 and Mac 12.0 both return to iOS 15. And some APIs started in iOS 15 crash on Mac 11.0. So we currently want to know how we can get the Mac OS version information of the actual device in the above case. (Additionally, not Mac Catalyst.)
1
2
1.2k
Oct ’21
How to communicate with other apps in the standalone Apple Watch app
I haven't developed an Apple Watch app yet. I have an existing app for sale. Users of that app sometimes send me requests for functions using Apple Watch in the app by email. Considering future maintenance, I would like to sell the Apple Watch app as a paid app. However, I know that watch app support cannot be turned on/off by in-app purchases in existing apps. Is there any way for the standalone Apple Watch app to communicate with my existing paid/free apps?
1
0
703
Feb ’22
How to forcibly decompress a compressed file (Zip)
There are files that fail to decompress on Mac or iOS. Even using open source for iOS, they all fail. Clicking on the MacBook to open it fails. However, some compression programs on Mac or PC will successfully decompress it. Is there any way to forcefully open or decompress such a compressed file (Zip)? I tried the Apple Archive method, but that method also fails with an error now. (Personally, I would like to be able to force such a file through the Apple archive.)
2
0
1.2k
Mar ’22
Swift Array removeAll() performance (slow)
Using Swift Array I found removeAll() to be very slow and not perform well. Especially the larger the array (the more objects it contains), the slower it was. Is there a way to achieve good performance while performing the same function as removeAll() of an array? "= []" This method also performed the same. And the way to declare the array after making it optional had the same performance. swift / xcode is the latest version and is being tested on iOS 15.4 / iOS 14.8 / iphone6s. Or can't Apple make a new function that speeds up the performance of removeAll()??
2
0
1k
Mar ’22
Question about backup of isExcludedFromBackup
I have a few questions about files that are allowed to be backed up by setting isExcludedFromBackup to false . Is it correct that the files allowed to be backed up are backed up by iCloud and iTunes sync? Are the files allowed for backup always/periodically backed up to iCloud? Or does it only sync when the user manually backs up the device? If the files allowed for backup are regularly backed up to iCloud, will there be a capacity issue? (User's iCloud capacity) If there is issue 3 above, is it a good solution to add an option to the app so that users can turn it on/off?
1
0
1k
Aug ’22
Dynamic Libraries Link and Licenses
When building the external library project, I selected "Mach-O Type" as "Dynamic Library" and built it to create a framework file (folder). And this framework file was imported and used in our app and distributed to the App Store. Is this situation required to release the entire source code of our app under the LGPL 2.1 (or LGPL 3.0) license? Enter file in the Mac command line and press Enter, “dynamically linked shared library” is displayed.
2
0
1.7k
Aug ’22
Can you check with @available if your iOS app is running on Mac?
I don't want the function to be included if the iOS app is running on a Mac. (Designed for iPad) For example the sample code below @available(iOS 13.4, *) func keyPressed(_ key: UIKey) { .. } The keyPressed function is included when running in iOS or iPadOS. I would like to know if there is a way to prevent the keyPressed function from being included at launch time, even when running an iOS app as "Designed for iPad" on M1/M2 devices. "targetEnvironment(macCatalyst)" When this is called, false is unconditionally displayed, so the distinction cannot be made. #if ProcessInfo().isiOSAppOnMac func keyPressed(_ key: UIKey) { .. } #endif If you use the code above, ProcessInfo cannot be executed in RunTime, so false is output unconditionally. So far I'm looking for a possible way, but there doesn't seem to be any possible way. If anyone has solved this problem, please reply.
1
0
722
Sep ’22