Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can we use Objective-C code and iOS framework in UE4?

Hi guys,

I'm new in Unreal Engine and am just in the investigation way but I have very important questions about UE functionality. I would like to clarify if UE(4, or eralier) has In-App purchases support (iOS, Android, etc.) Or, the most important - is there way to use 3d party libraries (C++, Objective-C, Java, etc?) Can we use Objective-C code and iOS framework if we use Unreal Engine for iOS purposes? Any answers or references will be appreciated.

Best Wishes, Serhii

Product Version: Not Selected
more ▼

asked Aug 27 '14 at 07:28 PM in Using UE4

avatar image

1 2 2 2

avatar image jeremyliu16 Oct 03 '15 at 06:28 AM

Hi Serhii, Did you find any suitable solutions on how to integrate 3rd party iOS framework with Unreal Engine (4 or earlier)? Looking forward to get some references from you, thanks a lot!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

You can use ObjC code. Just place the code within an .mm file, instead of a .cpp (not sure whether this is really necessary) and place preprocessor tags around your code:

   // your objc ios code here
more ▼

answered Dec 19 '14 at 10:11 AM

avatar image

26 1 3 7

avatar image trutty Feb 16 '15 at 10:42 AM

Ah very nice. Could you help me with my ObjC question or give a hint?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Not sure about InApp purchases... i think not.

By coding in C++ you extending code of engine, so there no limitation hat you can do, you can do anything what C++ can. UE4 uses own build menager called UBT and you need to edit build scripts in source directory to add extra liberies, here tutorial how to do it:


UE4 is strictly C++ because it macro trickery stuff in reflations (UHT), but if you try to find some hackery you might find a way to build some ObjC in to UE4. In case of Java, every Android application requires Java code, native code in Android works under supervision of Java application, UE4 is no diffrent, so if you want to add extra Android Java code you can do that. You can find Java portion of UE4 in Engine/Build/Android/Java, also i bet you will find more information on that in UE4 Android forum

more ▼

answered Aug 27 '14 at 08:29 PM

avatar image

37.8k 937 172 1123

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question