You can use the following APIs to end a custom trace.
// End an existing trace
trace?.end()// End an existing trace
[trace end];// End an existing trace
trace.end();// End an existing trace
trace?.end()trace.end();You can use the following APIs to end a custom trace.
// End an existing trace
trace?.end()// End an existing trace
[trace end];// End an existing trace
trace.end();// End an existing trace
trace?.end()trace.end();