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
Post a Comment