Questions

  1. What devices support the full drag and drop experience?

a) Only iPhone.
b) Only iPad.
c) Both iPhone and iPad.

  1. What kind of object do you have to provide to start a drag session?

a) A UIDragItem object.
b) A UIDragInteraction object.
c) An NSItemProvider object.

  1. How can you check whether your app can handle a certain drop action?

a) By checking the type of object that is associated with the drop action.
b) By limiting the type of objects that can be used in your drag session.
c) You receive a special error type if the app failed to handle the drop.

  1. How is the drag and drop experience limited on iPhone?

a) You can only start drag sessions on iPhone.
b) Your app can only implement drop interactions on iPhone.
c) Drag and drop is limited to the currently-open app.

  1. What do you have to do to support drag and drop on an iPhone?

a) You must manually enable the drag and drop interactions.
b) You need a special capability.
c) You need to add an Info.plist entry.

  1. How are the drag and drop delegate protocols for collection views different from the regular drag and drop delegate protocols?

a) They are the same, only with different names.
b) The collection view versions of the delegate methods receive an index path.
c) They are called at different times than the regular delegate methods.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.216.229