iOS SDK Notification Demo

No, it still not working. I tried both of the codes and rebooted the system. After modifying, The ranging demo displays minor value as 0 and bluetooth demo displays value as 1234 for the same beacon in ur demo as well as in my demo app. How is it possible? Please advice asap.

Please paste your code.

- (void)modifyBeaconByPassword:(NSString *)password {
    NSNumber *minor = nil;
    minor = @([_minorField.text integerValue]);
    [_beacon writeBeaconInfoByPassword:password
                                  uuid:nil
                                 major:nil
                                 minor:minor
                               txPower:nil
                           advInterval:nil
                         measuredPower:nil
                           newpassword:nil
                           autoRestart:YES
                        withCompletion:^(NSError *error) {
                            if (error) {
                                if ([error code] == 8) {
                                    NSLog(@"password error");
                                } else {
                                    NSLog(@"error %@", error);
                                }
                            } else {
                                [self.navigationController popViewControllerAnimated:YES];
                            }
                        }];
}

The code of our own app with no problems.

Thanks , This worked :smile: