I'm just learning the iPh开发者_JS百科one SDK and about drawing with CG
and UIKit
and whilst I can see the usefulness for building interfaces as a web developer I can't help but think it would be a hell of a lot easy if I could layout content (ie heading, paragraphs, lists, images) with html and css
presumably this is possible using the web view and injecting custom html and css into it is there any reason this is a bad idea?
Yes. It's not only ok, it's pretty common. I recommend having a good reason to do so before using this method. "Because it's easier than using the UIKit framework" is not a good reason.
Go for it. It's one of the tools at your disposal, so don't be shy about using it.
精彩评论