ios - EXC_BAD_ACCESS Cmd+Left/Right in UItextView -


steps crash:

  • сreate "simple view application".
  • add textview , set properties(you can see in code bellow).
  • cursor should between points in center of field.(you should add long string see points in center)
  • connect bluetooth keyboard device.
  • move cursor center of field
  • press cmd+left/right
  • always crash

it code rote:

#import "viewcontroller.h"  @interface viewcontroller ()  @property (weak, nonatomic) iboutlet uitextview *textview;  @end  @implementation viewcontroller  - (void)viewdidload {     [super viewdidload];     self.textview.textcontainer.maximumnumberoflines = 1;     self.textview.textcontainer.linebreakmode = nslinebreakbytruncatingmiddle; }  @end 

crash info: nothing in logs, just: in uitextview error: memory read failed 0x0

i can't find problem on stackoverflow or in internet. has ideas it? or report apple?

tested on:

  • ipad 4 ios 8.3(12f69)
  • ipad mini 9 betta 3(13a4293g)

coursor should between points in center of field


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -