is this the trick: #if !TARGET_OS_OSX if ([view_ respondsToSelector:@selector(contentScaleFactor)] == YES) contentScaleFactor = view_.contentScaleFactor; #endif
Ahh, maybe, those defines are misleading. maybe it should rather be TARGET_OS_MAC. Edit: http://sealiesoftware.com/blog/archive/2010/8/16/TargetConditionalsh.html TARGET_OS_OSX is only defined for native OSX builds (which don't have the notion of scale factor). It is not defined for iOS simulator.
Checked on simulator, I get the same results as on my real device (that is: working). But I did my test on a player (faster), maybe it is a problem with non-player apps ?
If you are in the final app (non player) scenario, can you try to delay your query by one frame (not main initialization code), or check it after APPLICATION_RESIZE events ?
Hi hgy29, just confirming that it was the one in the Players folder. I guess I always assumed that's the latest and build/push out to my devices when an update comes out. Although, I had to manually copy about 20 files from the plugins folder to get it to compile. Are there instructions for building a custom player from the studio? I've only ever exported projects, not a blank player I can push to that contains many projects.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I could make the program do a pass at a pdf based on date of api. It would only cover new commands - not ones that have been updated, unless we add another field to the help database.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
#if !TARGET_OS_OSX
if ([view_ respondsToSelector:@selector(contentScaleFactor)] == YES)
contentScaleFactor = view_.contentScaleFactor;
#endif
the contentScaleFactor is always 1 in OSX?
Edit: http://sealiesoftware.com/blog/archive/2010/8/16/TargetConditionalsh.html
TARGET_OS_OSX is only defined for native OSX builds (which don't have the notion of scale factor). It is not defined for iOS simulator.
If you are in the final app (non player) scenario, can you try to delay your query by one frame (not main initialization code), or check it after APPLICATION_RESIZE events ?
Likes: EricCarr
does TextField:setLayout work for you on 2017.11.3?
http://docs.giderosmobile.com/reference/gideros/TextField/setLayout#TextField:setLayout
To me it returns attempt to call method 'setLayout' (a nil value)
thanks
https://deluxepixel.com
Thank you
Likes: antix
Likes: antix
Fragmenter - animated loop machine and IKONOMIKON - the memory game
sorted not by alphabet, but by date of updates
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: oleg
https://deluxepixel.com