iphone - Strange BAD_EXC_ACCESS when declaring a string -


OK, what I'm doing is setting NSString in a value with this code:

  NSString * stringURL = [NSString stringWithFormat: @ "http://api.themoviedb.org/3/movie/%@/trailers?api_key=1523229ded5824dab8bb7840782db266", search ID];  

This is a string that I am changing from the TMDB database to the URL for querying. This line of code gives me a BAD_EXC_ACCESS and it is blowing my mind because the use of this type of NSString has been used thousands of times without problems.

One more thing is that this line is being executed correctly after another query call. The odd thing is that the call string creates the same URL, even then it works fine.

Any help would be appreciated ...

using% i An NSInteger is required to log in, not% @


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -