Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [ios]

iOS is an operating system for mobile devices created by Apple Inc. It runs on the iPhone, iPad, and iPod touch.

Filter by
Sorted by
Tagged with
0
votes
1answer
553 views

iOS 9.3.5 WebSocket connection always closes with code 1006

I'm working on an app that uses a LabVIEW implemented server on the backend that is proxied via apache. It works great on desktops and android devices but on iPhone and iPad the websocket connection ...
0
votes
1answer
71 views

How to move in between grid in crossword game

I am trying to create crossword game in my current app. As my current project is in iOS native so I wanted to implement this game only in UIKit so that it can be easily integrated. Requirement i ...
4
votes
1answer
72 views

How can I simulate a crash of OpenGL in GLKViewController to help track down a user's problem?

I am using GLKViewController for iOS app. On some devices, there are problems (possibly with OpenGL), that I am unable to solve, because I dont see this problem on ...
0
votes
1answer
347 views

How to change pre-splash image for iOS?

When I launched my game on my iPad, the screen first displayed a faulty splash image with a black lower half momentarily, before displaying the normal splash image. No matter what I tried, I couldn't ...
1
vote
0answers
157 views

Using a MTLTexture as the environment map of a SCNScene

I want to set a MTLTexture object as the environment map of a scene, as it seems to be possible according to the documentation. I can set the environment map to be ...
2
votes
1answer
1k views

Get the up vector of the camera in ARKit

I'm trying to get the four vectors that make up the boundaries of the frustum in ARKit, and the solution I came up with is as follows: Find the field of view angles of the camera Then find the ...
1
vote
1answer
142 views

How can I make a sprite slow down to the speed of another sprite while following it?

I'm making a SpriteKit game where two SpriteNodes are in a maze. That maze is represented as a grid. One sprite (A) travels faster than the other (B). Items randomly pop up, and the sprites have to ...
0
votes
1answer
60 views

How to read a data from multiple selected text files in unity

This question is based off of a previous one. How to read a data from text file in unity But I cant get the code to work for my purpose. I want to be able to choose which CSV files needs to be ...
6
votes
1answer
627 views

Surprisingly, in SpriteKit game engine, “deltaTime” is not frame time?

In Apple's cocos-like 2D enginer, SpriteKit, they have what they call a custom field: ...
1
vote
1answer
1k views

Can't Unity draw fine and smooth line?

I'm working on drawing lines in Unity, but find there is no way to draw clear, fine and smooth line in Unity, neither ...
0
votes
0answers
1k views

Is built-in checking Android/iOS permissions on runtime possible?

I have a game with some levels, coded to both Android and iOS. One of the levels late in the game uses a ...
1
vote
1answer
78 views

Does Apple allow different versions of the same game on the App Store tailored for different regions?

We are currently in negotiations with a Chinese company to give them the right to re-sell our game in the Asia region. Now for the Android version they want to sell it trough their website because ...
1
vote
2answers
2k views

Typedef redefinition error when running Unity iOS project in Xcode 9 simulator

I was able to run my Unity 2017.1.0b10 iOS project successfully on my iPhone 6S+ (Using Xcode 9). I changed the Target SDK to ...
3
votes
1answer
4k views

How to add the iPhone X screen dimensions to the mix of different iPhone screen sizes

Generally for Unity I design all my artwork in Illustrator. So I start off with 1440x1920 (for portrait games) and outline a red frame of 1080x1920. So everything that fits well within the 1080x1920 ...
0
votes
0answers
76 views

if the player moves in the real world the game object also want to move

I am creating an iOS game. It's my first experience in iOS. I am facing an issue in player movement. If the player moves in the real world this means the game object (character in the game) also wants ...
2
votes
2answers
378 views

IOS very simple 2d engine/api rendering showdown [closed]

So after taking some time running through a course, I believe I have enough experience with referring back to the course how to make the game I wish to all apart from one thing. How to draw the game ...
0
votes
1answer
686 views

Fixed camera rotate to follow character

I have a camera in a fixed position in the middle of a field, and I would like to rotate the camera to follow the character as it moves around. There is no point lower than the camera, but I would ...
0
votes
1answer
111 views

Is it possible for a particle to have an infinite lifespan in SceneKit?

I'm trying to do an experiment where the user creates particles when they touch the screen, and then the particles just stay in place, only dying in collision. I'm wondering if it would be possible to ...
1
vote
0answers
294 views

One SKSpriteNode with multiple PhysicsBodies?

I am making a game similar to Lunar Lander, when you land with your ship on different objects, etc... The issue I am having is that I have a Player SKSpriteNode (my Ship) with a slightly complex ...
2
votes
1answer
364 views

How do I apply touches to images, using Swift?

I need code this game for iOS, using Swift; but I don't know how to apply touches to images, using Swift. My attempts thus far have failed; touch!.view != image. <...
1
vote
0answers
14 views

iOS 8 iPad Mini Orientation thinks It should be landscape despite it being disabled

I've only enabled portrait mode in the info.plist and generally the iPad Mini running my game works fine except if I quickly change its physical orientation from landscape to portrait, the app ...
1
vote
0answers
393 views

arm64 architecture issue in Unity iOS plugin

I am trying to use the iOS version of ORB_SLAM2 (https://github.com/ygx2011/ORB_SLAM2-IOS) as a plugin to a Unity (Unity 5.5) project. To be able to use this as a plugin, I created a static library (....
1
vote
0answers
287 views

Swift Spritekit: Create realistic driving sprite

How would I go by creating a realistic driving experience? I'm using iOS Swift 3 with SpriteKit using the functions applyForce to accelerate when I click the gas button and when braking I add ...
0
votes
1answer
926 views

udp over cellular networks? [closed]

I'm starting to build a multiplayer iOS game using UDP. I want the game to be playable over cellular networks, but I can't really find that much information on it. Many people say that it's dependent ...
3
votes
0answers
352 views

How do I check if an iOS subscription is active?

How do I check if an iOS subscription is active? Subscriptions are the only type of purchase available; however, there are several subscription lengths. I have scoured the internet, but all I can ...
-1
votes
1answer
1k views

How do I play local user-provided audio files on an Android or iOS device? [duplicate]

I'd like to allow a user to select a path to local audio files, in Android and iOS devices. Is there a way I could provide a list of available songs, in Android or iOS devices, so the user could pick ...
1
vote
0answers
80 views

Unity 5.5 and Parse 1.7.0 on iOS 64-bit

We are using Unity 5.5 and Parse 1.7.0 (and Firebase for notifications) which doesn't have "Parse.Unity.dll" and while on Editor everything is working fine but when we build using "IL2CPP" on iOS; ...
1
vote
1answer
412 views

2D Infinite scrolling terrain on two axes

There seems to be a lot of posts about endlessly scrolling backgrounds on one axis, but not much for a 2-axis solution. As Josh Petrie suggested, I'm posting my approach as an answer to see if anyone ...
1
vote
1answer
168 views

Why is Unity 5.6 displaying launch image wrong on iOS?

I updated from Unity 5.5.0p3 to 5.6.0f3, and I have no idea what's causing this. The iOS launch image which looked like this: Now looks like this:
1
vote
1answer
780 views

GL_CLAMP_TO_BORDER - OpenGL ES 3

W want to use GL_CLAMP_TO_BORDER in my GL ES 3 app. Based on documentation (https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml), it ...
1
vote
1answer
524 views

In iOS, where/how to do a back button?

Edit: To sum up my question, what is the established back gesture for iOS games (when no pause button exists)? I have a block puzzle game, square grid, and some levels fill up the whole screen with ...
6
votes
1answer
611 views

Train-like movement in a 2D game

I am developing a 2D game using Cocos2d-X in C++ language. In my game, I need to implement train movement. Here is the image about the output I want to achieve: I tried to do the above moment using ...
0
votes
0answers
150 views

Libgdx: How to setZIndex for pause dialog?

Pause dialog has to appear on top of the play screen, it has to appear on top of other objects. I have tried to use ...
2
votes
1answer
564 views

Unity application freezes on ios at pause

When I play my game made with Unity on iOS device, and press the home button or let the screen close by time or by pressing the power button and then try to come back to the game, the game freezes ...
0
votes
1answer
1k views

The object can't rotate around z axis in SceneKit

I am doing an app with a functionality like a 3D compass, it can point to the direction where I want. The code is ...
0
votes
1answer
480 views

Libgdx: Aligning buttons inside dialog

I have the following dialog, semi circle shape. I want to position buttons in it. ...
0
votes
2answers
818 views

Libgdx: How to draw the score on the top left?

I want to keep the score visible on the top left corner of the screen. I have the score talking care of. I just want to display it. Score: x The comment on the ...
0
votes
2answers
372 views

Libgdx: how to pick a random texture?

I'm trying to pick a random texture from a fodler placed in assets and use it but it's giving me errors. I'm doing so in the main game screen class ...
0
votes
1answer
69 views

Double touch joysticks

I am developing a mobile game where I need to control main character in any direction using touch analog joystick (https://pineight.com/mw/images/6/6f/Ipoc_dpad.png). It's ok but I also want my ...
0
votes
1answer
611 views

How to change mute/unmute button?

I'm saving music in libgdx preference, the following code works perfectly but if you enter the settings again you'd see the initial button up regardless if the ...
0
votes
1answer
274 views

Libgdx: How to leave the dialog visible?

...
0
votes
2answers
1k views

Libgdx: How to replace texture with shaperenderer?

I have a method that creates rectangles, it takes a texture for (Rectangle rect : rect) { game.batch.draw(rectImage, rect.x, rect.y); } The ...
1
vote
1answer
730 views

Load large .obj file

I am working with the 3D model and I am using the Scene Kit for rendering and Model I/O for loading the obj file. It works perfectly fine for the small size of obj. But now I have 250MB of file and ...
1
vote
1answer
480 views

What is the shader format for Metal shaders shipped with iOS applications?

I am interested in analyzing existing shaders implemented using Apple's Metal framework. From my previous experience on other platforms with OpenGL, I have found that applications sometimes bundle ...
1
vote
0answers
47 views

What strategies are best for managing Game Center and offline saves in the same app?

I have an iOS app for which I want to use the Game Center API for saving games. At the same time, I want to have the option to save multiple games on the local file system, using the familiar save-...
0
votes
1answer
301 views

When should iOS gamecenter authentication be called?

I'm integrating GameCenter leaderboards into my iOS game. The game has a home screen with a play and "High Scores" button, the game screen itself, and a finished screen with you score, another "High ...
1
vote
1answer
431 views

Handheld video playback pauses when going to the home screen

Put an MP4 movie in your StreamingAssets folder and play it with ...
0
votes
1answer
66 views

Are TestFlight apps the same as the finished product?

This may be an obvious question, but to me it is a little unclear. I built an app using PhoneGap. While testing with PhoneGap Desktop and the associated app it was pretty obvious that this was just a ...
0
votes
1answer
130 views

AdMob - my own impressions

I wanted to test my in-game ads and I forgot to add my device as a Test Device. My game is not yet in Google Play and App Store but I have 12 impressions on AdMob. ...
0
votes
1answer
2k views

Minimum hardware requirements for developing for iOS and Android with Unity, Cocos2d-x and GameSalad on a Mac

I intend to create iOS and Android games. My main priority is to create 2D games. The software that I’m planing to use are Unity, Cocos2d-x and GameSalad. I am a bit interest in the Mac Mini, ...