IOS developers do now named the C language. Using C language to generate a static library, and then use the Object-c to call this static library. There are two people on the issue.
1 In the C language static library, I want to get the name of the currently running program. By readlink and / proc / self / exe to get under Linux, but IOS above error. Ask, what is the best way.
(2) In this static library using the pthread_create function. Compiler adds a libthread.dylib. If you use Debug static version of the C language, you can run successfully, but the use of Release will be a problem in pthread_create this place. Please save what you expert.
In addition, when using the ipad, does not complain, but when measured using the iPhone will complain. Debugging simulator is no problem.
Reply:
What exactly is the problem?
Reply:
The same myself, still not very clear, hoping to specific points; given point code is required.
No comments:
Post a Comment