Post

Replies

Boosts

Views

Activity

Reply to Localisation for local notification - Strange behaviour in action buttons
while showing the notification in Spanish; the description shows in Spanish and the action buttons are in English and vice-versa Which buttons precisely ? What is the iPhone language setting ? I do not find where you tried to ;localise those buttons ; if so, they are displayed in the language of settings. Have a look here for a somewhat similar issue: https://developer.apple.com/forums/thread/667963?page=1#649779022
Apr ’21
Reply to Can you develop apps for iOS 14 using XCODE 7
ASAP is not a word for this forum. No one is here to answer on notice🙂. Even if that were possible, you could not submit to appstore: Starting April 2021, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 12 and the iOS 14 SDK. For more details : https://developer.apple.com/app-store/submissions/ If it is for your personal use, just try it… https://stackoverflow.com/questions/62526772/device-support-files-ios-14-for-xcode11
Apr ’21
Reply to Screen size isn't working
it is not working That's not precise enough information. What do you get exactly ? to change constraints of top anchor and height of a view So constraints were previously defined ? How ? Please also show how you implement it. Show the code. Otherwise hard to say more than "there is likely an error in your code" …
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’21
Reply to Learning Swift
When app launches, it loads the initial view (the one you have declared as entry point in storyboard). And this loads all the IBOutlets, IBActions, properties. When you tap on an object, it looks for action to execute… goes to another view… and so on. Note that SwiftUI has a different logic, where app manages states of objects and asks to draw UI according to these states.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’21
Reply to How to set up a expandable TableView Cell?
You should define     func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) - CGFloat {         return // Compute the CGFloat row height, depending on the cell     } store in an array the state of the cells (in fact it should be included in the dataSource): var visibleBottomViews : [Bool] In viewDidLoad, you initialise it (all false for instance) When you show/hide a cell, you change corresponding value of visibleBottomViews. To do the computation, declare some global const for the class: let heightOfBottomView = CGFloat(30) // in fact the exact height of bottomView let basicHeight = CGFloat(44) // In fact the value you need let fullHeight = basicHeight + heightOfBottomView use it in the computation by testing visibleBottomViews[indexPath.row]     func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) - CGFloat {         return visibleBottomViews[indexPath.row] ? fullHeight : basicHeight     } Note: in cellForRowAt func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) - UITableViewCell  { if indexPath.row == 2 { you only create cell for row == 2. What do you do for others ? You must define as well. If that works, don't forget to close the thread on the correct answer. Otherwise explain what's the remaining problem.
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’21