So basically, I’m trying to create an NSTimer which will scroll through a UIWebView (here named _webView). The timer is firing correctly, but the other lines are giving me an “Lvalue required as left operand of assignment” error. All I want to do is increment the y coordinate of the origin by, say, 10, every time the NSTimer fires. What’s going wrong here?
NSLog(@"Value of webView.bounds.origin.y = %f", _webView.bounds.origin.y);
CGPoint topLeft = {_webView.bounds.origin.x, _webView.bounds.origin.y};
topLeft.y = topLeft.y + 10;
_webView.bounds.origin = topLeft;
Try…