---
title: preventsExpensiveNetworkAccess
framework: Photos
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+]
path: photos/phassetresourceuploadjoboptions/preventsexpensivenetworkaccess
---

# preventsExpensiveNetworkAccess

Prevents expensive network access, such as cellular, for the service.

## Declaration

```swift
var preventsExpensiveNetworkAccess: Bool { get set }
```

## Discussion

Discussion When true, the service only performs work for the associated configuration while the device has a non-expensive network connection (such as Wi-Fi or Ethernet); cellular connectivity is not used. Defaults to false.
