I have an image I am loading into a UIWebView
as such:
NSData *data2 = [[NSData alloc] initWithBytes:sqlite3_column_blob(selectstmt, 7) length:sqlite3_column_bytes(selectstmt, 7)];
if(data2 != nil) {
[webView loadData:data2 MIMEType:@"image/png" textEncodingName:nil baseURL:nil];
webView.backgroundColor = [UIColor clearColor];
}
[data2 release];
My question is when the content is loaded in, it is always justified to the top left. Is there any way to justify the content to a different position, say top center, or center center?