Comments (2)
Hey :) Thanks! I've used a slightly different approach to make it compile, I've added a .TV
case for the user interface idiom. So we get compiler errors if Apple adds new cases, if we used a default case those would silently misbehave. What do you think?
What is your experience with the battery level? I've just tried to get a value different from XX.0 but I'm unable ... even with your 100.0 ... I'm thinking about changing the Double
to Int
since it seems that it only returns integers (the UIDevice.currentDevice().batteryLevel
returns only Doubles with 2 decimal places, e.g. 0.38 which is 38%). Please let me know what you experienced and think :) Thanks! 🙏
from devicekit.
Resolved by commit 99cee4c.
from devicekit.
Related Issues (20)
- Feature Request: provide `.hasUSBCConnectivity` for device with USB-C port by opposition of Lightning HOT 1
- Can't update to DeviceKit v5.2.0 for SPM HOT 12
- Add support for Apple Vision Pro HOT 8
- Use Swift Macros instead of GYB?
- If a device send you its device identifier through network
- Development Team Required
- screenBrightness
- iPhone XR HOT 2
- Please use cocoapod resource_bundles for PrivacyInfo HOT 5
- Library evolution support.
- Spotlights van mees
- Describing use of required reason API HOT 6
- Build DeviceKit as MERGEABLE_LIBRARY
- How about adding properties that provide optical zoom min value? HOT 1
- Add Privacy Manifest HOT 3
- Multiple commands produce PrivacyInfo.xcprivacy HOT 1
- Missing API declaration: NSPrivacyAccessedAPICategoryDiskSpace HOT 6
- Missing API declaration for NSPrivacyAccessedAPICategoryDiskSpace when integrated via SPM HOT 6
- Orientation incorrectly reported as portrait HOT 1
- Add Support for 13 inch iPad devices HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devicekit.