Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by p0wnd · Feb 13, 2013 at 12:19 AM · iosnative

Existing Native app, put Unity in as a subview

Hi, I have an existing Native iOS app for which I'm wanting to put a unity application as a subview on a particular ViewController. Are there any resources for how to do this? I'm most confused as to the best way of combining my existing app delegate with unity's AppController. I don't want the Unity View to be shown until the user taps a particular tab, so I need the unity stuff to be off the display list until I request it.

Anybody have any ideas or tips?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SolidSnake · Jul 22, 2013 at 08:27 AM 0
Share

Did you manage to do it eventually? I am trying to do something similar

avatar image p0wnd · Jul 22, 2013 at 05:24 PM 0
Share

No, I went with a different solution. It's definitely doable, just would take a bit of work merging your current xcode project with unity's generated project.

avatar image SolidSnake · Jul 23, 2013 at 07:58 AM 0
Share

I found the following: http://floored.com/blog/2013/integrating-unity3d-within-ios-native-application.html But unity latest update (4.2) made it even easier with their new AppDelegate structure though its more suited for full screen still (at least from the first look at their new code)... At the moment I am trying to make it suitable for a subview scenario on smaller frame (not full screen)

4 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by jack_loverde · Nov 04, 2016 at 09:10 PM

Hi there, i have a repository on Bitbucket with a way to integrate and the final project to download.

https://bitbucket.org/jack_loverde/unity-5-vuforia-6-and-ios-native-integration

I made for my project and distribute e example project with tutorial.

Glad if it help someone.

Thanks

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mguilhermetavares · Nov 28, 2016 at 08:38 PM 0
Share

Hi, i saw your post. I'm trying to use the same as you did, but in my existing project. Can you help me?

avatar image jack_loverde mguilhermetavares · Nov 28, 2016 at 09:04 PM 0
Share

Do you use same soft version as i'm ? In my bitbucket i have my contacts

avatar image Nitin_CMLABS jack_loverde · Nov 30, 2017 at 03:40 PM 0
Share

Could you please look at my requirement :

I integrated the Native iOS to unity Xcode project and it's working perfectly fine. But i want that my iOS part run first and call unity from iOS ui button and opens the Unity.

Currently Unity code is running at back part which i don't want to run.

Current Scenario : 1.) Native IOS screen is visible and working fine. 2.) Unity code is also running at back part which i saw by Debugging in Xcode

Requirement : 1.) Native iOS screen should be visible and work fine 2.) Unity code should not run at back part.

Let me know if anyone can help.

Thanks in advance.

avatar image
0

Answer by dannyskim · Jul 22, 2013 at 06:55 PM

See following post for further information on this topic:

http://stackoverflow.com/questions/8336250/unity3d-integration-with-uiview

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Nitin_CMLABS · Nov 30, 2017 at 03:39 PM

I integrated the Native iOS to unity Xcode project and it's working perfectly fine. But i want that my iOS part run first and call unity from iOS ui button and opens the Unity.

Currently Unity code is running at back part which i don't want to run.

Current Scenario : 1.) Native IOS screen is visible and working fine. 2.) Unity code is also running at back part which i saw by Debugging in Xcode

Requirement : 1.) Native iOS screen should be visible and work fine 2.) Unity code should not run at back part.

Let me know if anyone can help.

Thanks in advance.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jack_loverde · Nov 30, 2017 at 04:28 PM 0
Share

Hi Nitin_C$$anonymous$$LABS, you need to get a Unity instance and pause it and play again. In my bitbucket repo, i have many links that is old way to do a native integration and there is how to get Unity instance and then get the method to stop or pause and play again.

avatar image tanalavijayios · Dec 22, 2017 at 07:32 AM 0
Share

Iam Also facing the same issue.Did You resolve the issues? if yes pease tell me how you resolved the issue ? please help me mail : tanalavijayios@gmail.com

avatar image
0

Answer by guynemerp · Aug 28, 2018 at 05:48 AM

Hello.

How is the situation as of today in 2018 with iOS 11 and 12 around the Corner ?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What is the best way to integrate native XCODE 0 Answers

Unity 5 and IOS Native plugins 0 Answers

Start a Unity app from inside a native iOS app 8 Answers

Unity iOS - Launch Native Window Instead of Unity 3 Answers

A node in a childnode? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges