Post

Replies

Boosts

Views

Activity

Reply to Swift dynamic uilabel size
You should do several things: create constraints to adapt the size of the label frame select Minimum Font scale or Minimum Font size in Autoshrink set the value to the minus (0.5 means that with initial size of 35, it will not be less than 17). In this capture, initial size was 17. Yours should be 35. . why can't apple adjust the size itself? On which basis, if you do not define constraints ? And that's exactly what iOS does by itself with the steps I proposed before.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’21
Reply to Internal use Ipad App?
A requirement for Entreprise program is to Have 100 or more employees. Is it your case ? Otherwise, for 30 iPad, if you are all on the same site and if you don't plan to update the app frequently, you could load from Xcode directly on each iPad. That may be a bit tedious, but that would work. And that could let you beta test easily your app on a few iPad before general deployment. all Ipad apps must be in the Apple store No (anyway, an iPad is not on the AppStore). But you need to declare each iPad in Xcode.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’21
Reply to UIApplication.openSettingsURLString does not work on iPadOS 15 simulator ?
I made some tests on iPadOS 15.2 simulator. With iPad language set to French, I did not see the app language setting option. I switched iPad language to english then I got the app language setting option. Switched back iPad to French And now I see the app language setting option. Bizarre, may be it was just some initialisation issue of the simulator ? So, I'll close the thread.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’21
Reply to May app was rejected because of lack of citations: Guideline 1.4.1 - Safety - Physical Harm
Looking at the other health apps out there, they don't include thorough citation or referencing. What other accepted apps do or don't do is never an argument (for reviewer). In addition, those apps may be from organisations with some health background ? Citation is a verifiable "serious" reference that supports the advice you give and that reviewer may check. The purpose is to avoid health apps that give useless or even harmful advices. For instance, advices as calorie deficit to lose weight must be supported by very serious, medical reference that explain what is safe to do and what is not with such diets. So the point is : if you say: doing this is good for heart you need to provide a citation or 2 (tell the source) from where you build this advice. There maybe common sense advice (like avoid too much salt, too much fat… that do not require citation.
Dec ’21
Reply to Why is it when I set UITableViewController navigationItem.searchController with UISearchController, navigation.searchController still is nil?
Why ? navigationItem.searchController? = searchController and not navigationItem.searchController = searchController This is a general rule for optional, not specific to searchController of course. This is illustrated by the following code: var i : Int? i? = 2 print("i is", i) i = 4 print("i is", i) Which yields: i is nil i is Optional(4)
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’21
Reply to How to @IBOutlet in the storyboard?
What you could do: open both code file and storyboard zoom out to view the whole storyboard (25% or smaller scale factor) move mouse over the black dot in front of IBOutlet observe carefully in storyboard: you should see the UIImageView highlighted or search for imgBottomFade in the search bar (at the very top left) you will find at the end of the list a reference to Main click it that will position the storyboard on the relevant VC expand view in the left panel of storyboard you should easily find imgBottomFade in the list of objects. or search ViewControl VC in storyboard (just 10 to inspect) select it and expand its view object in the left panel of storyboard. you should find imgBottomFade in the list of objects.
Dec ’21
Reply to UICollectionViewCell improperly sizes itself after calling reloadData()
Another point. Why do you specify a zero height ?     let targetSize = CGSize(width: layoutAttributes.frame.width, height: 0) It seems your cell height should be at least 40 ; so why not specify 40 ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to There are still screenshot uploads in progress...
How many screenshots ? How did you generate screenshots (Command-S from simulator is the best way to do). Are they the correct size ? Does it occur for all or only after some have been added ? Please, explain the context. I would close AppStore Connect and start again.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Swift dynamic uilabel size
You should do several things: create constraints to adapt the size of the label frame select Minimum Font scale or Minimum Font size in Autoshrink set the value to the minus (0.5 means that with initial size of 35, it will not be less than 17). In this capture, initial size was 17. Yours should be 35. . why can't apple adjust the size itself? On which basis, if you do not define constraints ? And that's exactly what iOS does by itself with the steps I proposed before.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Issues in uploading screenshots for iOS app in App Store Connect
Intriguing, this is at least the second post with the same problem ('The file has been uploaded and is processing) in a few days… How did you generate images ? With cmd-S in simulator ? With which simulator precisely ? Which Xcode version ? Did you try to: clear all images load 6.5" Save quit AppStoreConnect and reopen load 5.5".
Replies
Boosts
Views
Activity
Dec ’21
Reply to Hey guys, does any of you need a person to test your app? I am a perfect choice!
Such soliciting is not really appropriate for the forum.
Replies
Boosts
Views
Activity
Dec ’21
Reply to What does "not supported" mean in a deprecation warning?
Where do you get each ? I think both are correct, and not supported (in a certain OS version) is just a deprecated that has come to an end. In any case, you should not use anymore.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Can I use third party payment providers now?
I don't think so, but I'm not a legal expert. As far as I understand, the deadline of Dec 9 has been postponed (appeal pending). h t t p s : / / w w w.macrumors.com/2021/12/08/apple-wins-epic-appeal-no-app-store-changes-yet/
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Internal use Ipad App?
A requirement for Entreprise program is to Have 100 or more employees. Is it your case ? Otherwise, for 30 iPad, if you are all on the same site and if you don't plan to update the app frequently, you could load from Xcode directly on each iPad. That may be a bit tedious, but that would work. And that could let you beta test easily your app on a few iPad before general deployment. all Ipad apps must be in the Apple store No (anyway, an iPad is not on the AppStore). But you need to declare each iPad in Xcode.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Apple developer site
I just tested (in France) and works quite OK. Did you test other sites than Apple's to compare ?
Replies
Boosts
Views
Activity
Dec ’21
Reply to xcode 13.1, can't find IOS 15.1
IMHO, testing both on iOS 15.0 and 15.2 should give enough confidence it will work on 15.1.
Replies
Boosts
Views
Activity
Dec ’21
Reply to UIApplication.openSettingsURLString does not work on iPadOS 15 simulator ?
I made some tests on iPadOS 15.2 simulator. With iPad language set to French, I did not see the app language setting option. I switched iPad language to english then I got the app language setting option. Switched back iPad to French And now I see the app language setting option. Bizarre, may be it was just some initialisation issue of the simulator ? So, I'll close the thread.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to May app was rejected because of lack of citations: Guideline 1.4.1 - Safety - Physical Harm
Looking at the other health apps out there, they don't include thorough citation or referencing. What other accepted apps do or don't do is never an argument (for reviewer). In addition, those apps may be from organisations with some health background ? Citation is a verifiable "serious" reference that supports the advice you give and that reviewer may check. The purpose is to avoid health apps that give useless or even harmful advices. For instance, advices as calorie deficit to lose weight must be supported by very serious, medical reference that explain what is safe to do and what is not with such diets. So the point is : if you say: doing this is good for heart you need to provide a citation or 2 (tell the source) from where you build this advice. There maybe common sense advice (like avoid too much salt, too much fat… that do not require citation.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Can you make Xcode more modular and tools independent from each other?
All providers of modern software development tools are trying to make it environment/ide independent. So Apple is probably not a modern software development … 🤤
Replies
Boosts
Views
Activity
Dec ’21
Reply to Why is it when I set UITableViewController navigationItem.searchController with UISearchController, navigation.searchController still is nil?
Why ? navigationItem.searchController? = searchController and not navigationItem.searchController = searchController This is a general rule for optional, not specific to searchController of course. This is illustrated by the following code: var i : Int? i? = 2 print("i is", i) i = 4 print("i is", i) Which yields: i is nil i is Optional(4)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to How to @IBOutlet in the storyboard?
What you could do: open both code file and storyboard zoom out to view the whole storyboard (25% or smaller scale factor) move mouse over the black dot in front of IBOutlet observe carefully in storyboard: you should see the UIImageView highlighted or search for imgBottomFade in the search bar (at the very top left) you will find at the end of the list a reference to Main click it that will position the storyboard on the relevant VC expand view in the left panel of storyboard you should easily find imgBottomFade in the list of objects. or search ViewControl VC in storyboard (just 10 to inspect) select it and expand its view object in the left panel of storyboard. you should find imgBottomFade in the list of objects.
Replies
Boosts
Views
Activity
Dec ’21