Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-24-2009, 04:30 PM   #9 (permalink)
PhoneyDeveloper
New Member
 
Join Date: Sep 2008
Posts: 1,431
PhoneyDeveloper is on a distinguished road
Default

Quote:
Originally Posted by PhoneyDeveloper View Post
Remove your loadView method. Add viewDidLoad and build your chart view in viewDidLoad. Add this to viewDidLoad:

Code:
[self.view addSubView: chartView];
remove setNeedsDisplay.

also you need your chart view to be bigger than 1x1.
I'm also not clear why you don't just add the chart view in IB if you're building a nib anyway.
PhoneyDeveloper is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,631
Threads: 94,089
Posts: 402,801
Top Poster: BrianSlick (7,990)
Welcome to our newest member, hanhaursh7
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:01 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.