Soporte de The Movie Database

Hi !

I just create a iPhone app few days ago. It downloaded TMDB JSON data . The app runs very well until last night ! Suddenly , It crashes without any code change . I later found if I disable “backdrop_path “ key , instead I tried “poster_path “ the app will run again ! It looks like I am not able to use “backdrop_path” key any more ! Is there any change last night ? All The rest of key parameters are fine ! ) Please help if you. Could ! Thanks !

5 respuestas (en la página 1 de 1)

Jump to last post

Hi @Jenny_Liu,

There have been no changes, no. I've heard from some users from time to time who weren't handling nil items properly. Are you? Both poster_path and backdrop_path can be nil.

Hi Travis The data query is for “upcoming movie” ! I am pretty sure the app (with backdrop_path) works fine yesterday ! But ,last night , It just crashes in front of me without any change on my code ! As I mentioned earlier, poster_path works fine ! Still a puzzle to me ! Do not know how to solve it ? ! backdrop_path: String

I should not say app crash ! The simulator still works , but Just No data shows up in my app tableview cell ! I think it was due to query data from backdrop_path not matching key definition properly???

Travis I think you are right ! I go back and change the “backdrop_path :String? (to optional) ! And it works now ! Thanks for your help ! I solve the issue ! The app worked well until last night , thus I did not know this could be an issue ! Thanks again for your help !

Happy to hear you sorted it out.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión