Coder Social home page Coder Social logo

Comments (5)

jackchmbrln avatar jackchmbrln commented on July 24, 2024 1

Cool, glad I could help. Good luck with the exams!

Jack Chamberlain
Off Piste / iOS Brewer
07852746399

[email protected] [email protected]

J

On 7 July 2016 at 20:42:36, Dennis Weissmann ([email protected])
wrote:

Indeed that helps! Awesome! Once I have all my exams finished I'll
implement it! Thank you! :)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#29 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AJmQIsVoiNHHSv3VMotgTH8k1Kij3twWks5qTVargaJpZM4JG2lR
.

from devicekit.

dennisweissmann avatar dennisweissmann commented on July 24, 2024

Hey @jackchmbrln, thanks for filing! Do you any public API that provides this knowledge? I couldn't find anything (in my very shallow research).

from devicekit.

jackchmbrln avatar jackchmbrln commented on July 24, 2024

Hi Dennis,

Thanks for the reply, I do know of one way of doing it, whether thaf fits into your framework or not.

You can do

UIScreen.mainScreen().scale < UIScreen.mainScreen().nativeScale

I'm on my iPhone so can't remember the exact syntax but it's along those lines.

Hope it helps,
Jack

Jack Chamberlain
Off Piste / iOS Brewer
07852746399(tel:07852746399)
[email protected]

J

On 7 July 2016 at 19:51:59, Dennis Weissmann ([email protected](mailto:[email protected])) wrote:

Hey @jackchmbrln(https://github.com/jackchmbrln), thanks for filing! Do you any public API that provides this knowledge? I couldn't find anything (in my very shallow research).


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub(#29 (comment)), or mute the thread(https://github.com/notifications/unsubscribe/AJmQIh2HAEabI40cGOVrRXfGC0m2_hq9ks5qTUrPgaJpZM4JG2lR).

from devicekit.

dennisweissmann avatar dennisweissmann commented on July 24, 2024

Indeed that helps! Awesome! Once I have all my exams finished I'll implement it! Thank you! :)

from devicekit.

dennisweissmann avatar dennisweissmann commented on July 24, 2024

This is resolved in 6ad2b4f and is available in the Swift 3 branch which will get merged to master as soon as Swift 3 is out of beta :) Thanks again @jackchmbrln!

from devicekit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.