Post

Replies

Boosts

Views

Activity

Reply to Re-Add iPhone X/XS/11 Pro "View As" for Xcode 12.5
Where do you see it is the same size ? I think there is a small difference (Mini is 4% smaller in each direction): Model          Logical W  Logical H   Physical W    Physical H    PPI Retina Factor iPhone 12 mini    360       780         1080         2340        476     3 iPhone X          375       812         1125         2436        458     3 Complete references here : https ://ios-resolution .com
May ’21
Reply to Get the name of the Wi-Fi network to which the device is currently associated
There are more and more limitations to such information access (because it lets you get information on user location, hence privacy issue). This may provide some hint to a solution: https://stackoverflow.com/questions/63130232/cncopycurrentnetworkinfo-not-working-with-ios-14 or this older (5 years !) thread: https://developer.apple.com/forums/thread/11807 or this (but that's more general conditions than practical solution) https ://blog.appnation. co/how-to-access-wifi-ssid-on-ios-13-using-swift-40c4bba3c81d
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’21
Reply to Xcode 12.5 - codebase not compiling and I am stuck! Please help!
Could you show the code ? There must be a place where you decode JSON (deserialize). Maybe your JSON data is incorrect ? That can cause such type of error (even though not the same error as yours) : https://stackoverflow.com/questions/46284163/alamofire-responseserializationfailedalamofire-aferror-responseserializationfai Did it work before Xcode 12.5 ? Are you sure to have the most recent Alamofire pod version ?
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to Different behaviour when starting app from Xcode than from iPhone
I've not real understanding of what could occur here. Just some guessing. Could it be you get access to different resources (or lack some) when running from the iPhone as compared as from Xcode ? Or different versions of some packages ? Could you also check what are the mode in each case (debug ? release ?). And try to change. Did you contact DJI about their toolkit ? Otherwise, you could try to contact developers support or burn a DST ticket if you do not get further info on this forum. Good luck.
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to Develop in Swift Open Restaurant program has issues
Did you install the provided server as described on page 447 ? Run the Server The Restaurant folder included with this project contains the binary file for the server, OpenRestaurant.app. Right-click OpenRestaurant and click Open in the dropdown. Depending on your Mac's security configuration, you may see a warning dialog. Click Open to indicate that you trust the app. Check also if port is 8080 or 8090 (as written at top of page 448). I understand it should be 8080.
Topic: Programming Languages SubTopic: Swift Tags:
May ’21