Could I mix Unity with iOS? - ios

I have questions about Unity and iOS.
1) Could I put Unity program into iOS UIView?
2) Could I get data of variables from Unity program in iOS app?
Thanks for reading.

YES and YES
- You can imbed your unity view into any Navigation Controller , and you can pass variables from your iOS app into unity app .
Here is a demo project with the functions you will need
https://drive.google.com/file/d/1ElDzo1Uno14bM0cKNThMTC6KOUjDl8Hb/view

You may want to look into integrating Unity as a library in a native iOS app.
However Unity suggests:
...that you deeply understand the architecture of Android/Java & iOS/Objective C applications.
Before doing so

Related

How to create an in-app-purchase Native Module in React Native

I am trying to implementing an in-app-purchase mechanism in my React Native app for iOS.
But I couldn't found official supported modules about it, and I don't want to use any third party modules.
So I found this article How do you add an in-app purchase to an iOS application? on Stack overflow.
Those answers were written in Swift or Objective-C, and I know little about Swift.
After I read about this article https://reactnative.dev/docs/native-modules-ios.
I am thinking about making a method to request a purchase using Swift or Objective-C, and expose it to my React native project as a Native Module. After sending a request from a Button inside React Native View, I want to send the result to my React Native project using RCTEventEmitter from the Swift or Objective-C code.
Is it a good idea and how I can implement this?

How to integrate WebRTC with ios app swift?

I need to create an app that holds audio and video calling functionality. Does anyone have idea about which is a free library for this functionality ? And how to manage it properly in my app ?
I used AppRTC in my projects
You should implement ARDAppClientDelegate and RTCEAGLVideoViewDelegate protocols on ViewController on order to use this library.
You can find Swift examples on Github

How to properly integrate Unity + Vuforia into an existing native iOS Project?

We have created a project with Unity 2017.3 and Vuforia 6.0.114 and need to integrate it into a native iOS App with already existing AppDelegate and existing ViewContollers. We still want to launch our own AppDelegate and starting ViewController but on some point later the Unity+Vuforia-Controller shall be entered.
We are familiar with the process of integrating a Unity App into a native iOS App itself and we made everything work fine as long as there is no Vuforia involved.
The problem is that Vuforia itself subclasses Unity's Controller (in VuforiaNativeRendererController.mm) by using the IMPL_APP_CONTROLLER_SUBCLASS(VuforiaNativeRendererController) mechanism.
This is actually the same way we subclass our own iOS native App, thus we have a conflict. We can either start our part and take control of Unity or let Vuforia do it.
The question now is: Is it possible to somehow further subclass Vuforia or something similar? And if so, how could this be achieved?
We recently hit that exact same road bump. Using this method to integrate the Unity app into our existing native iOS project, we managed to bypass the renderer issue. Just make sure you turn off Auto Graphics API in Unity's player settings and use OpenGLES2 instead of Metal
I know this question is old, but pops-up in search and there is a solution.
Here's guide on Using Vuforia Engine with Unity as a Library (UaaL)

How to integrate my app delegate and View controller code in KONY app?

I'm developing a watch application using Xcode. And the actual iOS app is already implemented using Kony. And now I'm trying to add this watch app to the iOS app.
But the problem is the IOS app is developed in Kony. And I have written some code in Xcode with in AppDelegate.m and ViewController.m(RootViewController) of IOS bundle to communicate with watch and pass some data.So Everything is working fine.For this I created a new application and I did that phone to watch communication and watch app implementation.
Now the difficult part is I have to integrate or copy the code whatever I have written in sample app using Xcode to that Kony application.
Means Now I have to add this AppDelegate.m and ViewController.m code in to Kony Code which is developed by Kony IDE.
So how to integrate whatever i have done in Xcode build to Kony build ?
Problem Statement
How to integrate my app delegate and View controller code in KONY app?
Answer
We understand that you are integrating AppDelegate methods in Kony App.
Using Kony you can implement AddDelegate methods using following steps.
Kindly replace the attached AppDelegateExtension folder into your VMAppWithKonylib.xcodeproj
Add the statements in the didFinishLaunchingW/Users/kh1949/Desktop/AppDelegateExtension 2.zipithOptions method present in SampleAppDelegate.m file.
Regards,
Guru Murthystrong text

API/SDK to integrate turn by turn navigation in iOS app

do you know a sdk / API which I can integrate a complete turn by turn navigation in my app?
is there such a thing?
You could try with MKDirectionsRequest or similar classes from Apple's MapKit
Yes - use the Scout SDK (OpenStreetMap based solution) - you can embed TBT directly in your app and they have a free tier to get you started.

Resources