I am creating an application for ios.
I include two static libraries in my application.
However, if the same function name exists in two static libraries, the function that was first included as a library will be called.
(Static library written in Objective-c)
Is there any way to solve this?
Is it possible to solve it by using framework?
Note that the function names of the library are specified by the standard, so the function names cannot be changed.
Best regards.
Post
Replies
Boosts
Views
Activity
start XCode.
select "Create a new Xcode pjoject".
select "iOS" tab.
"Static Library" templete is exist, but "Dynamic Library" is not exist.
I want to create dylib file for ios.
XCode doesn't have templates, can I create a dylib file for ios?
Please tell me how to create it.
Best regards.
I have a screen rotation problem on iOS16.
I found that it can be improved by adding the following processing.
if (@available(iOS 16.0, *)) {
UIWindowScene *windowScene = (UIWindowScene *)[[[UIApplication sharedApplication] connectedScenes] allObjects].firstObject;
UIViewController *rootView = [[windowScene keyWindow] rootViewController];
[rootView setNeedsUpdateOfSupportedInterfaceOrientations];
}
It worked fine when built with XCode14.
But it also worked fine when built with XCode13.
Why is this?
Can "setNeedsUpdateOfSupportedInterfaceOrientations" be used without XCode14?