Open trivektor opened 10 years ago
I have the same issue...
I tried on both iOS7 and iOS6 and can't reproduce the issue. Can you tell me which device and which version you are running? Where do you initialize the rte? in viewDidLoad?
RichTextEditor *rte = [[RichTextEditor alloc] initWithFrame:CGRectMake(50, 50, 400, 400)];
[self.view addSubview:rte];
Thanks
Did you try on iOS 7.1? I was running iOS7.1 on iPhone 5. I did initialize the rte in viewDidLoad, and the textView appear fine. We I tap on the textView, the keyboard appear but the toolBar does not appear.
Same here in my iPad project (iOS 7.1)
I think this is actually CocoaPod specific, because when I replaced the pod with the code from this repo (commenting out 'iOS-Rich-Text-Editor' and including 'WEPopover') the toolbar appeared correctly.
Thanks, will look into it and update the cocoapod
For some reason the toolbar doesn't show up when I create the rich text editor programmatically instead of using an IBOutlet. I'm using iOS 7.1 by the way.
textEditor = [[RichTextEditor alloc] initWithFrame:self.view.bounds] textEditor.delegate = self textEditor.dataSource = self self.view.addSubview(textEditor)