CABTMidiCentralViewController used in Storyboard only working if using code reference
up vote
0
down vote
favorite
I am having an app that uses the CABMIDICentralViewController
directly within the storyboard. I dont want to use it in the code in any way.
Now i have the strange issue, that this embedded view controller (used in the storyboard as ContainerView
that is embedded in a regular VC with the class
attribute set to CABTMIDICentralViewController
) is only working when I keep a mention in the code like this
- (IBAction)openCentralConfig
CABTMIDICentralViewController *viewController = [CABTMIDICentralViewController new];
When i remove that line of code the containerview stays empty. When i keep it, everything is fine. I guess the compiler optimizes imports and symbols and then its not known anymore.
How can I avoid having this reference in the code.
ios midi coremidi btle
add a comment |
up vote
0
down vote
favorite
I am having an app that uses the CABMIDICentralViewController
directly within the storyboard. I dont want to use it in the code in any way.
Now i have the strange issue, that this embedded view controller (used in the storyboard as ContainerView
that is embedded in a regular VC with the class
attribute set to CABTMIDICentralViewController
) is only working when I keep a mention in the code like this
- (IBAction)openCentralConfig
CABTMIDICentralViewController *viewController = [CABTMIDICentralViewController new];
When i remove that line of code the containerview stays empty. When i keep it, everything is fine. I guess the compiler optimizes imports and symbols and then its not known anymore.
How can I avoid having this reference in the code.
ios midi coremidi btle
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am having an app that uses the CABMIDICentralViewController
directly within the storyboard. I dont want to use it in the code in any way.
Now i have the strange issue, that this embedded view controller (used in the storyboard as ContainerView
that is embedded in a regular VC with the class
attribute set to CABTMIDICentralViewController
) is only working when I keep a mention in the code like this
- (IBAction)openCentralConfig
CABTMIDICentralViewController *viewController = [CABTMIDICentralViewController new];
When i remove that line of code the containerview stays empty. When i keep it, everything is fine. I guess the compiler optimizes imports and symbols and then its not known anymore.
How can I avoid having this reference in the code.
ios midi coremidi btle
I am having an app that uses the CABMIDICentralViewController
directly within the storyboard. I dont want to use it in the code in any way.
Now i have the strange issue, that this embedded view controller (used in the storyboard as ContainerView
that is embedded in a regular VC with the class
attribute set to CABTMIDICentralViewController
) is only working when I keep a mention in the code like this
- (IBAction)openCentralConfig
CABTMIDICentralViewController *viewController = [CABTMIDICentralViewController new];
When i remove that line of code the containerview stays empty. When i keep it, everything is fine. I guess the compiler optimizes imports and symbols and then its not known anymore.
How can I avoid having this reference in the code.
ios midi coremidi btle
ios midi coremidi btle
edited Nov 15 at 14:01
asked Nov 10 at 19:55
Martin Mlostek
1,0921229
1,0921229
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53242852%2fcabtmidicentralviewcontroller-used-in-storyboard-only-working-if-using-code-refe%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown