Post not yet marked as solved
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.
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.
Post not yet marked as solved
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?
I have the following four local files:If you open "index.html" in WkWebView and click the link displayed in the left frame, the link will not work.It works when the same file is opened with a browser (IE, FireFox, Safari).It also works with UiWebView.Is this a bug in WkWebView? Or is it a specification?Thank you in advance.XCode10.1iOS12.1 12.2・index.html<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>sample</title>
</head>
<frameset rows="47,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="head.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frameset cols="270,680*" frameborder="no" border="0" framespacing="0">
<frame src="left.html" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
<frame src="main.html" name="mainFrame" scrolling="yes" id="mainFrame" title="mainFrame" />
</frameset>
</frameset>
<noframes><body>
</body>
</noframes></html>・head.html<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SAMPLE TEST</title>
</head>
<body>
<div><div>SAMPLE TEST</div></div>
</div>
</body>
</html>・left.html<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SAMPLE TEST</title>
</head>
<body>
<div id="wrap">
<div><a href="main.html#samplelink01" target="mainFrame">■aaaaa</a></div>
<div><a href="main.html#samplelink02" target="mainFrame">■bbbbb</a></div>
<div><a href="main.html#samplelink03" target="mainFrame">■ccccc</a></div>
<div><a href="main.html#samplelink04" target="mainFrame">■ddddd</a></div>
<div><a href="main.html#samplelink05" target="mainFrame">■eeeee</a></div>
<div><a href="main.html#samplelink06" target="mainFrame">■fffff</a></div>
</div>
</body>
</html>・main.html<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SAMPLE TEST</title>
<style type="text/css">
</style>
<script type="text/javascript">
</script>
</head>
<body>
<div>
<div><font size="6"><a name="samplelink01" id="samplelink01"></a>■aaaaa</font></div>
<div>
<tr>
<p>12345</p>
<p>12345</p>
<p>12345</p>
<p>12345</p>
<p>12345</p>
<p>12345</p>
</tr>
</div>
<div><font size="6"><a name="samplelink02" id="samplelink02"></a>■bbbbb</font></div>
<div>
<tr>
<p>sample sample sample</p>
<p>sample sample sample</p>
<p>sample sample sample</p>
<p>sample sample sample</p>
</tr>
</div>
<div><font size="6"><a name="samplelink03" id="samplelink03"></a>■ccccc</font></div>
<div>
<tr>
<p>3333</p>
<p>3333</p>
<p>3333</p>
</tr>
</div>
<div><font size="6"><a name="samplelink04" id="samplelink04"></a>■ddddd</font></div>
<div>
<tr>
<p>44444444444444444</p>
<p>44444444444444444</p>
<p>44444444444444444</p>
<p>44444444444444444</p>
<p>44444444444444444</p>
<p>44444444444444444</p>
</tr>
</div>
<div><font size="6"><a name="samplelink05" id="samplelink05"></a>■eeeee</font></div>
<div>
<tr>
<p>5</p>
<p>5</p>
<p>5</p>
<p>5</p>
<p>5</p>
</tr>
</div>
<div><font size="6"><a name="samplelink06" id="samplelink06"></a>■fffff</font></div>
<div>
<tr>
<p>666666</p>
<p>666666</p>
<p>666666</p>
<p>666666</p>
<p>666666</p>
<p>666666</p>
</tr>
</div>
</div>
</body>
</html>