iOS-Rich-Text-Editor icon indicating copy to clipboard operation
iOS-Rich-Text-Editor copied to clipboard

Toolbar doesn't show up

Open trivektor opened this issue 10 years ago • 6 comments

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)

trivektor avatar Mar 14 '14 08:03 trivektor

I have the same issue...

wimbledon avatar Apr 13 '14 09:04 wimbledon

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

aryaxt avatar Apr 13 '14 16:04 aryaxt

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.

wimbledon avatar Apr 14 '14 03:04 wimbledon

Same here in my iPad project (iOS 7.1)

skela avatar Jun 12 '14 05:06 skela

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.

skela avatar Jun 12 '14 06:06 skela

Thanks, will look into it and update the cocoapod

aryaxt avatar Jun 22 '14 03:06 aryaxt