ios - Is self.frame.height for SKScene based on landscape height no matter which way the phone is rotated? -



ios - Is self.frame.height for SKScene based on landscape height no matter which way the phone is rotated? -

i have skscene. lock phone in portrait game. doing math have infinite scrolling background. going subtract amount of background sits off screen. background 1344 width , width of screen in portrait should 768. when trace self.frame.width or self.frame.size.width gives me 1024 , self.frame.height or self.frame.size.height gives me 768. in playscene:skscene. right in saying rotation of phone doesn't matter , width , height calculated if in landscape?

ios objective-c swift

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -