Skip to main content
Question

iOS Folder Items trouble

  • May 22, 2025
  • 1 reply
  • 4 views

Forum|alt.badge.img

I am fairly new to swift and to Box. I believe I am making the call correctly in swift but it doesn't seem to return anything. Here is how I am calling it,

 

let contentClient = BOXContentClient.default()

let boxfolderrequest = contentClient?.folderItemsRequest(withID: "0")

boxfolderrequest?.perform(completion: {(items, error) -> Void in

 })

 

Am I not calling this correctly or does it have to do with permissions? With not a lot out there for swift, any help on this would be great. Also, this call doesn't work on any folders and not just root. 

1 reply

Forum|alt.badge.img

So the Issue was a timeout error, was using pods but switched over to using Carthage and now it works.