Skip to content

Commit bcdf42e

Browse files
authored
Merge pull request #3205 from Bhavik-P/patch-1
Disabling Data Collection Code Update
2 parents b0c695b + b66a4ef commit bcdf42e

File tree

1 file changed

+2
-2
lines changed
  • src/connections/sources/catalog/libraries/mobile/ios

1 file changed

+2
-2
lines changed

src/connections/sources/catalog/libraries/mobile/ios/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,12 +548,12 @@ Depending on the audience for your app (for example, children) or the countries
548548
{% codeexample %}
549549
{% codeexampletab Swift %}
550550
```swift
551-
[[SEGAnalytics sharedAnalytics] disable];
551+
Analytics.shared().disable()
552552
```
553553
{% endcodeexampletab %}
554554
{% codeexampletab Objective-C %}
555555
```objc
556-
Analytics.shared().disable()
556+
[[SEGAnalytics sharedAnalytics] disable];
557557
```
558558
{% endcodeexampletab %}
559559
{% endcodeexample %}

0 commit comments

Comments
 (0)