dam13n / motion-floating-action-button

Material design floating action Button gem for RubyMotion
8 stars 2 forks source link

Do not add subviews directly to the visual effect view itself, instead add them to the -contentView #3

Open vivek1608 opened 7 years ago

vivek1608 commented 7 years ago

IT CRASS ON line -- [_bgView addSubview:_menuTable]; in ios 11

lenkaiser commented 7 years ago

Replace the following line: - [_bgView addSubview:_menuTable];

With:

//crash fixed iOS11 - [_bgView addSubview:_menuTable];
[[(UIVisualEffectView *)_bgView contentView] addSubview:_menuTable];